prime-ui-kit 0.7.3 → 0.7.7
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/components/index.css +326 -34
- package/dist/components/index.css.map +4 -4
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1363 -588
- package/dist/components/index.js.map +4 -4
- package/dist/components/select/Select.d.ts +26 -9
- package/dist/components/select/Select.d.ts.map +1 -1
- package/dist/components/select/examples/pattern-multiple.d.ts +3 -0
- package/dist/components/select/examples/pattern-multiple.d.ts.map +1 -0
- package/dist/components/tag-select/TagSelect.d.ts +43 -0
- package/dist/components/tag-select/TagSelect.d.ts.map +1 -0
- package/dist/components/tag-select/examples/pattern-canonical.d.ts +3 -0
- package/dist/components/tag-select/examples/pattern-canonical.d.ts.map +1 -0
- package/dist/components/tag-select/examples/pattern-features.d.ts +3 -0
- package/dist/components/tag-select/examples/pattern-features.d.ts.map +1 -0
- package/dist/hooks/usePosition.d.ts.map +1 -1
- package/dist/index.css +328 -36
- package/dist/index.css.map +4 -4
- package/dist/index.js +1363 -588
- package/dist/index.js.map +4 -4
- package/dist/layout/index.d.ts +1 -0
- package/dist/layout/index.d.ts.map +1 -1
- package/dist/layout/sidebar/Sidebar.d.ts +2 -0
- package/dist/layout/sidebar/Sidebar.d.ts.map +1 -1
- package/dist/layout/sidebar/SidebarRoot.d.ts +10 -0
- package/dist/layout/sidebar/SidebarRoot.d.ts.map +1 -1
- package/dist/layout/sidebar/sidebarDesktopStorage.d.ts +5 -0
- package/dist/layout/sidebar/sidebarDesktopStorage.d.ts.map +1 -0
- package/dist/layout/sidebar/useSidebarNarrowViewport.d.ts +6 -0
- package/dist/layout/sidebar/useSidebarNarrowViewport.d.ts.map +1 -0
- package/dist/tokens/semantic.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/select/COMPONENT.md +91 -32
- package/src/components/select/examples/pattern-multiple.tsx +30 -0
- package/src/components/tag-select/COMPONENT.md +108 -0
- package/src/components/tag-select/examples/examples.module.css +14 -0
- package/src/components/tag-select/examples/pattern-canonical.tsx +28 -0
- package/src/components/tag-select/examples/pattern-features.tsx +32 -0
- package/src/styles/theme-dark.css +1 -1
- package/src/styles/theme-light.css +1 -1
|
@@ -3727,12 +3727,6 @@
|
|
|
3727
3727
|
display: block;
|
|
3728
3728
|
}
|
|
3729
3729
|
.Select_content2 {
|
|
3730
|
-
--select-item-min-height: var(--prime-sys-size-control-m-height);
|
|
3731
|
-
--select-item-text: var(--prime-sys-typography-control-s);
|
|
3732
|
-
--select-item-pad-x: var(--prime-sys-size-control-m-inputPaddingX);
|
|
3733
|
-
--select-item-icon-size: var(--prime-sys-size-control-m-icon);
|
|
3734
|
-
--select-item-gap: var(--prime-sys-size-control-m-gap);
|
|
3735
|
-
--select-item-radius: var(--prime-sys-size-control-m-radius);
|
|
3736
3730
|
display: flex;
|
|
3737
3731
|
flex-direction: column;
|
|
3738
3732
|
gap: var(--prime-sys-spacing-x1);
|
|
@@ -3748,6 +3742,9 @@
|
|
|
3748
3742
|
font-family: inherit;
|
|
3749
3743
|
color: var(--prime-sys-color-content-primary);
|
|
3750
3744
|
}
|
|
3745
|
+
.Select_content2[aria-hidden=true] {
|
|
3746
|
+
pointer-events: none;
|
|
3747
|
+
}
|
|
3751
3748
|
.Select_content2[data-overlay-portal-layer=page] {
|
|
3752
3749
|
z-index: var(--prime-sys-elevation-zIndex-dropdown);
|
|
3753
3750
|
}
|
|
@@ -3760,7 +3757,33 @@
|
|
|
3760
3757
|
.Select_content2[data-overlay-portal-layer=drawerInModal] {
|
|
3761
3758
|
z-index: var(--prime-sys-elevation-zIndex-dropdownInDrawerInModal);
|
|
3762
3759
|
}
|
|
3763
|
-
.
|
|
3760
|
+
.Select_item2 {
|
|
3761
|
+
--select-item-min-height: var(--prime-sys-size-control-m-height);
|
|
3762
|
+
--select-item-text: var(--prime-sys-typography-control-s);
|
|
3763
|
+
--select-item-pad-x: var(--prime-sys-size-control-m-inputPaddingX);
|
|
3764
|
+
--select-item-icon-size: var(--prime-sys-size-control-m-icon);
|
|
3765
|
+
--select-item-gap: var(--prime-sys-size-control-m-gap);
|
|
3766
|
+
--select-item-radius: var(--prime-sys-size-control-m-radius);
|
|
3767
|
+
display: flex;
|
|
3768
|
+
align-items: center;
|
|
3769
|
+
gap: var(--select-item-gap);
|
|
3770
|
+
box-sizing: border-box;
|
|
3771
|
+
width: 100%;
|
|
3772
|
+
min-height: var(--select-item-min-height);
|
|
3773
|
+
padding-block: 0;
|
|
3774
|
+
padding-inline: var(--select-item-pad-x);
|
|
3775
|
+
border-radius: var(--select-item-radius);
|
|
3776
|
+
cursor: pointer;
|
|
3777
|
+
font-size: var(--select-item-text);
|
|
3778
|
+
font-weight: var(--prime-sys-typography-weight-medium);
|
|
3779
|
+
line-height: 1.2;
|
|
3780
|
+
color: var(--prime-sys-color-content-primary);
|
|
3781
|
+
text-align: start;
|
|
3782
|
+
transition: background-color var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
3783
|
+
outline: none;
|
|
3784
|
+
user-select: none;
|
|
3785
|
+
}
|
|
3786
|
+
.Select_item2[data-size=s] {
|
|
3764
3787
|
--select-item-min-height: var(--prime-sys-size-control-s-height);
|
|
3765
3788
|
--select-item-text: var(--prime-sys-typography-support-2xs);
|
|
3766
3789
|
--select-item-pad-x: var(--prime-sys-size-control-s-inputPaddingX);
|
|
@@ -3768,7 +3791,7 @@
|
|
|
3768
3791
|
--select-item-gap: var(--prime-sys-size-control-s-gap);
|
|
3769
3792
|
--select-item-radius: var(--prime-sys-size-control-s-radius);
|
|
3770
3793
|
}
|
|
3771
|
-
.
|
|
3794
|
+
.Select_item2[data-size=m] {
|
|
3772
3795
|
--select-item-min-height: var(--prime-sys-size-control-m-height);
|
|
3773
3796
|
--select-item-text: var(--prime-sys-typography-control-s);
|
|
3774
3797
|
--select-item-pad-x: var(--prime-sys-size-control-m-inputPaddingX);
|
|
@@ -3776,7 +3799,7 @@
|
|
|
3776
3799
|
--select-item-gap: var(--prime-sys-size-control-m-gap);
|
|
3777
3800
|
--select-item-radius: var(--prime-sys-size-control-m-radius);
|
|
3778
3801
|
}
|
|
3779
|
-
.
|
|
3802
|
+
.Select_item2[data-size=l] {
|
|
3780
3803
|
--select-item-min-height: var(--prime-sys-size-control-l-height);
|
|
3781
3804
|
--select-item-text: var(--prime-sys-typography-control-m);
|
|
3782
3805
|
--select-item-pad-x: var(--prime-sys-size-control-l-inputPaddingX);
|
|
@@ -3784,7 +3807,7 @@
|
|
|
3784
3807
|
--select-item-gap: var(--prime-sys-size-control-l-gap);
|
|
3785
3808
|
--select-item-radius: var(--prime-sys-size-control-l-radius);
|
|
3786
3809
|
}
|
|
3787
|
-
.
|
|
3810
|
+
.Select_item2[data-size=xl] {
|
|
3788
3811
|
--select-item-min-height: var(--prime-sys-size-control-xl-height);
|
|
3789
3812
|
--select-item-text: var(--prime-sys-typography-control-l);
|
|
3790
3813
|
--select-item-pad-x: var(--prime-sys-size-control-xl-inputPaddingX);
|
|
@@ -3792,26 +3815,6 @@
|
|
|
3792
3815
|
--select-item-gap: var(--prime-sys-size-control-xl-gap);
|
|
3793
3816
|
--select-item-radius: var(--prime-sys-size-control-xl-radius);
|
|
3794
3817
|
}
|
|
3795
|
-
.Select_item2 {
|
|
3796
|
-
display: flex;
|
|
3797
|
-
align-items: center;
|
|
3798
|
-
gap: var(--select-item-gap);
|
|
3799
|
-
box-sizing: border-box;
|
|
3800
|
-
width: 100%;
|
|
3801
|
-
min-height: var(--select-item-min-height);
|
|
3802
|
-
padding-block: 0;
|
|
3803
|
-
padding-inline: var(--select-item-pad-x);
|
|
3804
|
-
border-radius: var(--select-item-radius);
|
|
3805
|
-
cursor: pointer;
|
|
3806
|
-
font-size: var(--select-item-text);
|
|
3807
|
-
font-weight: var(--prime-sys-typography-weight-medium);
|
|
3808
|
-
line-height: 1.2;
|
|
3809
|
-
color: var(--prime-sys-color-content-primary);
|
|
3810
|
-
text-align: start;
|
|
3811
|
-
transition: background-color var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
3812
|
-
outline: none;
|
|
3813
|
-
user-select: none;
|
|
3814
|
-
}
|
|
3815
3818
|
.Select_item2:hover,
|
|
3816
3819
|
.Select_item2[data-highlighted=true] {
|
|
3817
3820
|
background: color-mix(in srgb, var(--prime-sys-color-action-neutralBackgroundHover) 90%, var(--prime-sys-color-field-text) 10%);
|
|
@@ -3871,12 +3874,24 @@
|
|
|
3871
3874
|
.Select_groupLabel2 {
|
|
3872
3875
|
display: flex;
|
|
3873
3876
|
align-items: center;
|
|
3874
|
-
padding-inline: var(--
|
|
3877
|
+
padding-inline: var(--prime-sys-size-control-m-inputPaddingX);
|
|
3875
3878
|
padding-block: var(--prime-sys-spacing-x1);
|
|
3876
3879
|
font-size: var(--prime-sys-typography-support-2xs);
|
|
3877
3880
|
color: var(--prime-sys-color-content-muted);
|
|
3878
3881
|
font-weight: var(--prime-sys-typography-weight-medium);
|
|
3879
3882
|
}
|
|
3883
|
+
.Select_groupLabel2[data-size=s] {
|
|
3884
|
+
padding-inline: var(--prime-sys-size-control-s-inputPaddingX);
|
|
3885
|
+
}
|
|
3886
|
+
.Select_groupLabel2[data-size=m] {
|
|
3887
|
+
padding-inline: var(--prime-sys-size-control-m-inputPaddingX);
|
|
3888
|
+
}
|
|
3889
|
+
.Select_groupLabel2[data-size=l] {
|
|
3890
|
+
padding-inline: var(--prime-sys-size-control-l-inputPaddingX);
|
|
3891
|
+
}
|
|
3892
|
+
.Select_groupLabel2[data-size=xl] {
|
|
3893
|
+
padding-inline: var(--prime-sys-size-control-xl-inputPaddingX);
|
|
3894
|
+
}
|
|
3880
3895
|
.Select_separator2 {
|
|
3881
3896
|
flex-shrink: 0;
|
|
3882
3897
|
align-self: stretch;
|
|
@@ -4206,24 +4221,30 @@
|
|
|
4206
4221
|
align-items: center;
|
|
4207
4222
|
}
|
|
4208
4223
|
.Modal_title2 {
|
|
4224
|
+
margin: 0;
|
|
4209
4225
|
line-height: 1.2;
|
|
4210
4226
|
font-weight: var(--prime-sys-typography-title-weight);
|
|
4211
4227
|
font-size: var(--prime-sys-size-control-m-text);
|
|
4212
4228
|
}
|
|
4213
4229
|
.Modal_description2 {
|
|
4230
|
+
margin: 0;
|
|
4214
4231
|
color: var(--prime-sys-color-content-secondary);
|
|
4215
|
-
font-size: var(--prime-sys-size-control-
|
|
4232
|
+
font-size: var(--prime-sys-size-control-s-text);
|
|
4233
|
+
line-height: 1.4;
|
|
4216
4234
|
}
|
|
4217
4235
|
.Modal_headText2 {
|
|
4218
|
-
display:
|
|
4236
|
+
display: flex;
|
|
4237
|
+
flex-direction: column;
|
|
4238
|
+
align-items: stretch;
|
|
4219
4239
|
gap: var(--prime-sys-size-modal-titleGap);
|
|
4240
|
+
min-width: 0;
|
|
4220
4241
|
padding-right: var(--prime-sys-size-modal-headTextPaddingRight);
|
|
4221
4242
|
}
|
|
4222
4243
|
.Modal_headerIcon2 {
|
|
4223
4244
|
display: inline-flex;
|
|
4224
4245
|
align-items: center;
|
|
4225
4246
|
justify-content: center;
|
|
4226
|
-
background: var(--prime-sys-color-surface-
|
|
4247
|
+
background: var(--prime-sys-color-surface-default);
|
|
4227
4248
|
color: var(--prime-sys-color-content-secondary);
|
|
4228
4249
|
flex: 0 0 auto;
|
|
4229
4250
|
width: var(--prime-sys-size-modal-headerIconSize);
|
|
@@ -8490,6 +8511,277 @@
|
|
|
8490
8511
|
flex-shrink: 0;
|
|
8491
8512
|
}
|
|
8492
8513
|
|
|
8514
|
+
/* src/components/tag-select/TagSelect.module.css */
|
|
8515
|
+
.TagSelect_control2 {
|
|
8516
|
+
--ts-pad-x: var(--prime-sys-size-control-m-inputPaddingX);
|
|
8517
|
+
--ts-pad-y: var(--prime-sys-size-control-m-inputPaddingY);
|
|
8518
|
+
--ts-gap: var(--prime-sys-size-control-m-gap);
|
|
8519
|
+
--ts-chevron: var(--prime-sys-size-control-m-icon);
|
|
8520
|
+
position: relative;
|
|
8521
|
+
box-sizing: border-box;
|
|
8522
|
+
display: flex;
|
|
8523
|
+
flex-wrap: wrap;
|
|
8524
|
+
align-items: flex-start;
|
|
8525
|
+
gap: var(--ts-gap);
|
|
8526
|
+
width: 100%;
|
|
8527
|
+
min-width: 0;
|
|
8528
|
+
padding-inline-start: var(--ts-pad-x);
|
|
8529
|
+
padding-inline-end: calc(var(--ts-pad-x) + var(--ts-chevron) + var(--ts-gap));
|
|
8530
|
+
padding-block: var(--ts-pad-y);
|
|
8531
|
+
border-radius: var(--prime-sys-size-control-m-radius);
|
|
8532
|
+
border: var(--prime-sys-border-width-control) solid var(--prime-sys-color-field-border);
|
|
8533
|
+
background: var(--prime-sys-color-field-bg);
|
|
8534
|
+
color: var(--prime-sys-color-field-text);
|
|
8535
|
+
font-size: var(--prime-sys-size-control-m-text);
|
|
8536
|
+
font-family: inherit;
|
|
8537
|
+
box-shadow: var(--prime-sys-elevation-shadow-surface);
|
|
8538
|
+
cursor: text;
|
|
8539
|
+
text-align: left;
|
|
8540
|
+
outline: none;
|
|
8541
|
+
transition:
|
|
8542
|
+
border-color var(--prime-sys-motion-medium) var(--prime-sys-motion-standard),
|
|
8543
|
+
box-shadow var(--prime-sys-motion-medium) var(--prime-sys-motion-standard),
|
|
8544
|
+
background-color var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
8545
|
+
}
|
|
8546
|
+
.TagSelect_control2[data-size=s] {
|
|
8547
|
+
--ts-pad-x: var(--prime-sys-size-control-s-inputPaddingX);
|
|
8548
|
+
--ts-pad-y: var(--prime-sys-size-control-s-inputPaddingY);
|
|
8549
|
+
--ts-gap: var(--prime-sys-size-control-s-gap);
|
|
8550
|
+
--ts-chevron: var(--prime-sys-size-control-s-icon);
|
|
8551
|
+
border-radius: var(--prime-sys-size-control-s-radius);
|
|
8552
|
+
font-size: var(--prime-sys-size-control-s-text);
|
|
8553
|
+
}
|
|
8554
|
+
.TagSelect_control2[data-size=m] {
|
|
8555
|
+
--ts-gap: var(--prime-sys-size-control-m-gap);
|
|
8556
|
+
--ts-chevron: var(--prime-sys-size-control-m-icon);
|
|
8557
|
+
border-radius: var(--prime-sys-size-control-m-radius);
|
|
8558
|
+
font-size: var(--prime-sys-size-control-m-text);
|
|
8559
|
+
}
|
|
8560
|
+
.TagSelect_control2[data-size=l] {
|
|
8561
|
+
--ts-pad-x: var(--prime-sys-size-control-l-inputPaddingX);
|
|
8562
|
+
--ts-pad-y: var(--prime-sys-size-control-l-inputPaddingY);
|
|
8563
|
+
--ts-gap: var(--prime-sys-size-control-l-gap);
|
|
8564
|
+
--ts-chevron: var(--prime-sys-size-control-l-icon);
|
|
8565
|
+
border-radius: var(--prime-sys-size-control-l-radius);
|
|
8566
|
+
font-size: var(--prime-sys-size-control-l-text);
|
|
8567
|
+
}
|
|
8568
|
+
.TagSelect_control2[data-size=xl] {
|
|
8569
|
+
--ts-pad-x: var(--prime-sys-size-control-xl-inputPaddingX);
|
|
8570
|
+
--ts-pad-y: var(--prime-sys-size-control-xl-inputPaddingY);
|
|
8571
|
+
--ts-gap: var(--prime-sys-size-control-xl-gap);
|
|
8572
|
+
--ts-chevron: var(--prime-sys-size-control-xl-icon);
|
|
8573
|
+
border-radius: var(--prime-sys-size-control-xl-radius);
|
|
8574
|
+
font-size: var(--prime-sys-size-control-xl-text);
|
|
8575
|
+
}
|
|
8576
|
+
.TagSelect_control2[data-empty=true] {
|
|
8577
|
+
min-height: var(--prime-sys-size-control-m-height);
|
|
8578
|
+
}
|
|
8579
|
+
.TagSelect_control2[data-empty=true][data-size=s] {
|
|
8580
|
+
min-height: var(--prime-sys-size-control-s-height);
|
|
8581
|
+
}
|
|
8582
|
+
.TagSelect_control2[data-empty=true][data-size=m] {
|
|
8583
|
+
min-height: var(--prime-sys-size-control-m-height);
|
|
8584
|
+
}
|
|
8585
|
+
.TagSelect_control2[data-empty=true][data-size=l] {
|
|
8586
|
+
min-height: var(--prime-sys-size-control-l-height);
|
|
8587
|
+
}
|
|
8588
|
+
.TagSelect_control2[data-empty=true][data-size=xl] {
|
|
8589
|
+
min-height: var(--prime-sys-size-control-xl-height);
|
|
8590
|
+
}
|
|
8591
|
+
.TagSelect_control2:hover:not([data-disabled=true]) {
|
|
8592
|
+
border-color: var(--prime-sys-color-field-borderHover);
|
|
8593
|
+
background: color-mix(in srgb, var(--prime-sys-color-action-neutralBackgroundHover) 90%, var(--prime-sys-color-field-text) 10%);
|
|
8594
|
+
box-shadow: none;
|
|
8595
|
+
}
|
|
8596
|
+
.TagSelect_control2:focus-within:not([data-disabled=true]) {
|
|
8597
|
+
border-color: var(--prime-sys-color-field-borderFocus);
|
|
8598
|
+
box-shadow: var(--prime-sys-elevation-shadow-buttonFocus);
|
|
8599
|
+
}
|
|
8600
|
+
.TagSelect_control2[data-has-error=true] {
|
|
8601
|
+
border-color: var(--prime-sys-color-field-borderError);
|
|
8602
|
+
}
|
|
8603
|
+
.TagSelect_control2[data-has-error=true]:focus-within {
|
|
8604
|
+
box-shadow: var(--prime-sys-elevation-shadow-errorFocus);
|
|
8605
|
+
}
|
|
8606
|
+
.TagSelect_control2[data-disabled=true] {
|
|
8607
|
+
background: var(--prime-sys-color-surface-accentSoft);
|
|
8608
|
+
border-color: transparent;
|
|
8609
|
+
box-shadow: none;
|
|
8610
|
+
cursor: not-allowed;
|
|
8611
|
+
color: var(--prime-sys-color-content-disabled);
|
|
8612
|
+
}
|
|
8613
|
+
.TagSelect_chips2 {
|
|
8614
|
+
display: flex;
|
|
8615
|
+
flex: 1 1 auto;
|
|
8616
|
+
flex-wrap: wrap;
|
|
8617
|
+
align-items: center;
|
|
8618
|
+
gap: var(--ts-gap);
|
|
8619
|
+
box-sizing: border-box;
|
|
8620
|
+
width: 100%;
|
|
8621
|
+
min-width: 0;
|
|
8622
|
+
}
|
|
8623
|
+
.TagSelect_chip2 {
|
|
8624
|
+
display: inline-flex;
|
|
8625
|
+
max-width: 100%;
|
|
8626
|
+
}
|
|
8627
|
+
.TagSelect_chipBadge2 {
|
|
8628
|
+
max-width: 100%;
|
|
8629
|
+
min-width: 0;
|
|
8630
|
+
}
|
|
8631
|
+
.TagSelect_chipLabel2 {
|
|
8632
|
+
min-width: 0;
|
|
8633
|
+
overflow: hidden;
|
|
8634
|
+
text-overflow: ellipsis;
|
|
8635
|
+
}
|
|
8636
|
+
.TagSelect_chipRemove2 {
|
|
8637
|
+
display: inline-flex;
|
|
8638
|
+
flex-shrink: 0;
|
|
8639
|
+
align-items: center;
|
|
8640
|
+
justify-content: center;
|
|
8641
|
+
margin: 0;
|
|
8642
|
+
padding: 0;
|
|
8643
|
+
border: none;
|
|
8644
|
+
border-radius: var(--prime-sys-shape-radius-s);
|
|
8645
|
+
background: transparent;
|
|
8646
|
+
color: inherit;
|
|
8647
|
+
opacity: 0.8;
|
|
8648
|
+
cursor: pointer;
|
|
8649
|
+
transition: opacity var(--prime-sys-motion-fast) var(--prime-sys-motion-standard);
|
|
8650
|
+
}
|
|
8651
|
+
.TagSelect_chipRemove2:hover:not(:disabled) {
|
|
8652
|
+
opacity: 1;
|
|
8653
|
+
}
|
|
8654
|
+
.TagSelect_chipRemove2:focus-visible {
|
|
8655
|
+
outline: none;
|
|
8656
|
+
box-shadow: var(--prime-sys-elevation-shadow-buttonFocus);
|
|
8657
|
+
}
|
|
8658
|
+
.TagSelect_chipRemove2:disabled {
|
|
8659
|
+
cursor: not-allowed;
|
|
8660
|
+
opacity: 0.45;
|
|
8661
|
+
}
|
|
8662
|
+
.TagSelect_removeIcon2 {
|
|
8663
|
+
display: block;
|
|
8664
|
+
width: 0.625rem;
|
|
8665
|
+
height: 0.625rem;
|
|
8666
|
+
}
|
|
8667
|
+
.TagSelect_input2 {
|
|
8668
|
+
flex: 1 1 4rem;
|
|
8669
|
+
min-width: 2rem;
|
|
8670
|
+
margin: 0;
|
|
8671
|
+
padding: 0;
|
|
8672
|
+
border: none;
|
|
8673
|
+
background: transparent;
|
|
8674
|
+
color: inherit;
|
|
8675
|
+
font: inherit;
|
|
8676
|
+
line-height: var(--prime-sys-typography-body-lineHeight);
|
|
8677
|
+
outline: none;
|
|
8678
|
+
}
|
|
8679
|
+
.TagSelect_inputCollapsed2 {
|
|
8680
|
+
flex: 0 1 0;
|
|
8681
|
+
min-width: 0;
|
|
8682
|
+
width: 0;
|
|
8683
|
+
height: 0;
|
|
8684
|
+
min-height: 0;
|
|
8685
|
+
overflow: hidden;
|
|
8686
|
+
opacity: 0;
|
|
8687
|
+
line-height: 0;
|
|
8688
|
+
font-size: 0;
|
|
8689
|
+
}
|
|
8690
|
+
.TagSelect_input2::placeholder {
|
|
8691
|
+
color: var(--prime-sys-color-field-placeholder);
|
|
8692
|
+
}
|
|
8693
|
+
.TagSelect_control2[data-disabled=true] .TagSelect_input2::placeholder {
|
|
8694
|
+
color: var(--prime-sys-color-content-disabled);
|
|
8695
|
+
}
|
|
8696
|
+
.TagSelect_chevronSlot2 {
|
|
8697
|
+
position: absolute;
|
|
8698
|
+
top: 50%;
|
|
8699
|
+
right: var(--ts-pad-x);
|
|
8700
|
+
display: inline-flex;
|
|
8701
|
+
align-items: center;
|
|
8702
|
+
justify-content: center;
|
|
8703
|
+
width: var(--ts-chevron);
|
|
8704
|
+
min-width: var(--ts-chevron);
|
|
8705
|
+
pointer-events: none;
|
|
8706
|
+
transform: translateY(-50%);
|
|
8707
|
+
}
|
|
8708
|
+
.TagSelect_chevron2 {
|
|
8709
|
+
display: block;
|
|
8710
|
+
flex-shrink: 0;
|
|
8711
|
+
width: var(--prime-sys-unit-0p45rem);
|
|
8712
|
+
height: var(--prime-sys-unit-0p45rem);
|
|
8713
|
+
border-right: var(--prime-sys-unit-1p5px) solid currentColor;
|
|
8714
|
+
border-bottom: var(--prime-sys-unit-1p5px) solid currentColor;
|
|
8715
|
+
transform: rotate(45deg) translateY(-10%);
|
|
8716
|
+
opacity: 0.6;
|
|
8717
|
+
transition: transform var(--prime-sys-motion-medium) var(--prime-sys-motion-standard), opacity var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
8718
|
+
}
|
|
8719
|
+
.TagSelect_control2[data-open=true] .TagSelect_chevron2 {
|
|
8720
|
+
transform: rotate(225deg) translateY(-10%);
|
|
8721
|
+
}
|
|
8722
|
+
.TagSelect_panelInner2 {
|
|
8723
|
+
display: flex;
|
|
8724
|
+
flex-direction: column;
|
|
8725
|
+
gap: 0;
|
|
8726
|
+
min-width: 0;
|
|
8727
|
+
}
|
|
8728
|
+
.TagSelect_hint2 {
|
|
8729
|
+
padding-inline: var(--prime-sys-spacing-x3);
|
|
8730
|
+
padding-block: var(--prime-sys-spacing-x2) var(--prime-sys-spacing-x1);
|
|
8731
|
+
}
|
|
8732
|
+
.TagSelect_optionRow2 {
|
|
8733
|
+
display: flex;
|
|
8734
|
+
align-items: center;
|
|
8735
|
+
gap: var(--prime-sys-spacing-x2);
|
|
8736
|
+
width: 100%;
|
|
8737
|
+
min-width: 0;
|
|
8738
|
+
cursor: pointer;
|
|
8739
|
+
border: none;
|
|
8740
|
+
background: none;
|
|
8741
|
+
text-align: left;
|
|
8742
|
+
font: inherit;
|
|
8743
|
+
color: inherit;
|
|
8744
|
+
padding-inline: var(--prime-sys-spacing-x3);
|
|
8745
|
+
padding-block: var(--prime-sys-spacing-x2);
|
|
8746
|
+
border-radius: var(--prime-sys-shape-radius-m);
|
|
8747
|
+
transition: background var(--prime-sys-motion-fast) var(--prime-sys-motion-standard);
|
|
8748
|
+
}
|
|
8749
|
+
.TagSelect_optionRow2:hover:not([data-disabled=true]) {
|
|
8750
|
+
background: var(--prime-sys-color-action-neutralBackgroundHover);
|
|
8751
|
+
}
|
|
8752
|
+
.TagSelect_optionRow2[data-highlighted=true]:not([data-disabled=true]) {
|
|
8753
|
+
background: var(--prime-sys-color-action-neutralBackgroundHover);
|
|
8754
|
+
}
|
|
8755
|
+
.TagSelect_optionRow2[data-disabled=true] {
|
|
8756
|
+
opacity: 0.45;
|
|
8757
|
+
cursor: not-allowed;
|
|
8758
|
+
}
|
|
8759
|
+
.TagSelect_createRow2 {
|
|
8760
|
+
display: flex;
|
|
8761
|
+
align-items: center;
|
|
8762
|
+
flex-wrap: wrap;
|
|
8763
|
+
gap: var(--prime-sys-spacing-x2);
|
|
8764
|
+
width: 100%;
|
|
8765
|
+
min-width: 0;
|
|
8766
|
+
cursor: pointer;
|
|
8767
|
+
border: none;
|
|
8768
|
+
background: none;
|
|
8769
|
+
text-align: left;
|
|
8770
|
+
font: inherit;
|
|
8771
|
+
color: inherit;
|
|
8772
|
+
padding-inline: var(--prime-sys-spacing-x3);
|
|
8773
|
+
padding-block: var(--prime-sys-spacing-x2);
|
|
8774
|
+
border-radius: var(--prime-sys-shape-radius-m);
|
|
8775
|
+
transition: background var(--prime-sys-motion-fast) var(--prime-sys-motion-standard);
|
|
8776
|
+
}
|
|
8777
|
+
.TagSelect_createRow2:hover:not([data-disabled=true]),
|
|
8778
|
+
.TagSelect_createRow2[data-highlighted=true]:not([data-disabled=true]) {
|
|
8779
|
+
background: var(--prime-sys-color-action-neutralBackgroundHover);
|
|
8780
|
+
}
|
|
8781
|
+
.TagSelect_createLabel2 {
|
|
8782
|
+
flex-shrink: 0;
|
|
8783
|
+
}
|
|
8784
|
+
|
|
8493
8785
|
/* src/components/textarea/Textarea.module.css */
|
|
8494
8786
|
.Textarea_field2 {
|
|
8495
8787
|
--prime-textarea-body-size: var(--prime-sys-size-control-m-text);
|