@luscii-healthtech/web-ui 58.2.0 → 58.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.development.js +23 -35
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/stories/VerticalMenu.stories.d.ts +7 -0
- package/dist/web-ui-tailwind.css +55 -10
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -89,6 +89,13 @@ export default meta;
|
|
|
89
89
|
type Story = StoryObj<typeof meta>;
|
|
90
90
|
export declare const Base: Story;
|
|
91
91
|
export declare const Collapsed: Story;
|
|
92
|
+
/**
|
|
93
|
+
* The interactive states of a primary menu item: default, hover, pressed and
|
|
94
|
+
* selected. The hover and pressed rows are simulated with forced classes so
|
|
95
|
+
* they can be reviewed (and snapshotted) without a pointer — interact with
|
|
96
|
+
* the other stories to see the real states.
|
|
97
|
+
*/
|
|
98
|
+
export declare const InteractiveStates: Story;
|
|
92
99
|
export declare const NotExpandable: Story;
|
|
93
100
|
export declare const Complex: Story;
|
|
94
101
|
export declare const Truncating: Story;
|
package/dist/web-ui-tailwind.css
CHANGED
|
@@ -2772,6 +2772,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2772
2772
|
.ui\:border-border-neutral-primary-default {
|
|
2773
2773
|
border-color: var(--ui-primitive-color-grey-300);
|
|
2774
2774
|
}
|
|
2775
|
+
.ui\:border-border-neutral-primary-pressed\! {
|
|
2776
|
+
border-color: var(--ui-primitive-color-brand-700) !important;
|
|
2777
|
+
}
|
|
2775
2778
|
.ui\:border-border-neutral-secondary-default {
|
|
2776
2779
|
border-color: var(--ui-primitive-color-grey-500);
|
|
2777
2780
|
}
|
|
@@ -2892,6 +2895,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2892
2895
|
.ui\:bg-background-neutral-secondary-hovered {
|
|
2893
2896
|
background-color: var(--ui-primitive-color-brand-300);
|
|
2894
2897
|
}
|
|
2898
|
+
.ui\:bg-background-neutral-secondary-hovered\! {
|
|
2899
|
+
background-color: var(--ui-primitive-color-brand-300) !important;
|
|
2900
|
+
}
|
|
2895
2901
|
.ui\:bg-background-neutral-secondary-selected {
|
|
2896
2902
|
background-color: var(--ui-primitive-color-brand-300);
|
|
2897
2903
|
}
|
|
@@ -2970,9 +2976,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2970
2976
|
.ui\:bg-primary-background {
|
|
2971
2977
|
background-color: var(--ui-color-blue-100);
|
|
2972
2978
|
}
|
|
2973
|
-
.ui\:bg-primary-background-active {
|
|
2974
|
-
background-color: var(--ui-color-blue-200);
|
|
2975
|
-
}
|
|
2976
2979
|
.ui\:bg-primary-light {
|
|
2977
2980
|
background-color: var(--ui-color-blue-700);
|
|
2978
2981
|
}
|
|
@@ -3818,9 +3821,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
3818
3821
|
.ui\:whitespace-pre {
|
|
3819
3822
|
white-space: pre;
|
|
3820
3823
|
}
|
|
3821
|
-
.ui\:text-\[\#162130\] {
|
|
3822
|
-
color: #162130;
|
|
3823
|
-
}
|
|
3824
3824
|
.ui\:text-amber-700 {
|
|
3825
3825
|
color: var(--ui-color-amber-700);
|
|
3826
3826
|
}
|
|
@@ -5692,6 +5692,16 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
5692
5692
|
scale: 0.98;
|
|
5693
5693
|
}
|
|
5694
5694
|
}
|
|
5695
|
+
.ui\:active\:border-border-neutral-primary-pressed {
|
|
5696
|
+
&:active {
|
|
5697
|
+
border-color: var(--ui-primitive-color-brand-700);
|
|
5698
|
+
}
|
|
5699
|
+
}
|
|
5700
|
+
.ui\:active\:bg-background-neutral-secondary-hovered {
|
|
5701
|
+
&:active {
|
|
5702
|
+
background-color: var(--ui-primitive-color-brand-300);
|
|
5703
|
+
}
|
|
5704
|
+
}
|
|
5695
5705
|
.ui\:active\:shadow-base {
|
|
5696
5706
|
&:active {
|
|
5697
5707
|
--tw-shadow: 0px 1px 3px var(--tw-shadow-color, rgba(0, 0, 0, 0.1)), 0px 1px 2px var(--tw-shadow-color, rgba(0, 0, 0, 0.06));
|
|
@@ -6385,20 +6395,55 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
6385
6395
|
}
|
|
6386
6396
|
}
|
|
6387
6397
|
}
|
|
6388
|
-
.ui\:\[\&_\.menu-icon\]\:text
|
|
6398
|
+
.ui\:\[\&_\.menu-icon\]\:text-icon-neutral-primary-default {
|
|
6399
|
+
& .menu-icon {
|
|
6400
|
+
color: var(--ui-primitive-color-grey-700);
|
|
6401
|
+
}
|
|
6402
|
+
}
|
|
6403
|
+
.ui\:\[\&_\.menu-icon\]\:text-icon-neutral-primary-hover\! {
|
|
6389
6404
|
& .menu-icon {
|
|
6390
|
-
color:
|
|
6405
|
+
color: var(--ui-primitive-color-grey-700) !important;
|
|
6391
6406
|
}
|
|
6392
6407
|
}
|
|
6393
|
-
.ui\:hover\:\[\&_\.menu-icon\]\:text
|
|
6408
|
+
.ui\:hover\:\[\&_\.menu-icon\]\:text-icon-neutral-primary-hover {
|
|
6394
6409
|
&:hover {
|
|
6395
6410
|
@media (hover: hover) {
|
|
6396
6411
|
& .menu-icon {
|
|
6397
|
-
color:
|
|
6412
|
+
color: var(--ui-primitive-color-grey-700);
|
|
6398
6413
|
}
|
|
6399
6414
|
}
|
|
6400
6415
|
}
|
|
6401
6416
|
}
|
|
6417
|
+
.ui\:\[\&_\.menu-item-text\]\:font-semibold {
|
|
6418
|
+
& .menu-item-text {
|
|
6419
|
+
--tw-font-weight: var(--ui-font-weight-semibold);
|
|
6420
|
+
font-weight: var(--ui-font-weight-semibold);
|
|
6421
|
+
}
|
|
6422
|
+
}
|
|
6423
|
+
.ui\:\[\&_\.menu-item-text\]\:font-semibold\! {
|
|
6424
|
+
& .menu-item-text {
|
|
6425
|
+
--tw-font-weight: var(--ui-font-weight-semibold) !important;
|
|
6426
|
+
font-weight: var(--ui-font-weight-semibold) !important;
|
|
6427
|
+
}
|
|
6428
|
+
}
|
|
6429
|
+
.ui\:hover\:\[\&_\.menu-item-text\]\:font-semibold {
|
|
6430
|
+
&:hover {
|
|
6431
|
+
@media (hover: hover) {
|
|
6432
|
+
& .menu-item-text {
|
|
6433
|
+
--tw-font-weight: var(--ui-font-weight-semibold);
|
|
6434
|
+
font-weight: var(--ui-font-weight-semibold);
|
|
6435
|
+
}
|
|
6436
|
+
}
|
|
6437
|
+
}
|
|
6438
|
+
}
|
|
6439
|
+
.ui\:active\:\[\&_\.menu-item-text\]\:font-semibold {
|
|
6440
|
+
&:active {
|
|
6441
|
+
& .menu-item-text {
|
|
6442
|
+
--tw-font-weight: var(--ui-font-weight-semibold);
|
|
6443
|
+
font-weight: var(--ui-font-weight-semibold);
|
|
6444
|
+
}
|
|
6445
|
+
}
|
|
6446
|
+
}
|
|
6402
6447
|
.ui\:\[\&_a\]\:cursor-pointer {
|
|
6403
6448
|
& a {
|
|
6404
6449
|
cursor: pointer;
|