diff --git a/package-lock.json b/package-lock.json index 638f486..88d3b11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gravity-ui/react-unipika", - "version": "0.5.2", + "version": "0.5.3-canary.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gravity-ui/react-unipika", - "version": "0.5.2", + "version": "0.5.3-canary.2", "license": "MIT", "devDependencies": { "@bem-react/classname": "^1.6.0", diff --git a/package.json b/package.json index d632356..5655dba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gravity-ui/react-unipika", - "version": "0.5.2", + "version": "0.5.3-canary.2", "description": "The library helps to create dialogs with forms by using registered field-types. Also it is possible to extend it with your own field-types.", "repository": { "type": "arc", diff --git a/src/StructuredYson/Cell.scss b/src/StructuredYson/Cell.scss index e0e273f..8da9ad2 100644 --- a/src/StructuredYson/Cell.scss +++ b/src/StructuredYson/Cell.scss @@ -1,9 +1,17 @@ +/* + * The `!important` keyword is required because CSS load order of `@gravity-ui/unipika/styles/unipika.scss` + * (imported in the consuming project) cannot be guaranteed. + */ + .g-ru-cell { position: relative; - white-space: nowrap; + /* stylelint-disable-next-line declaration-no-important */ + white-space: nowrap !important; + * { - white-space: nowrap; + /* stylelint-disable-next-line declaration-no-important */ + white-space: nowrap !important; } &__key { @@ -15,15 +23,19 @@ &_string { color: var(--color-unipika-string); } + &_boolean { color: var(--color-unipika-bool); } + &_null { color: var(--color-unipika-null); } + &_int64 { color: var(--color-unipika-int); } + &_double { color: var(--color-unipika-float); }