@photonix/basic 1.7.2 → 1.7.3

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.
Files changed (4) hide show
  1. package/dist/index.css +63 -62
  2. package/dist/index.js +1400 -1395
  3. package/dist/index.mjs +1417 -1412
  4. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -15568,21 +15568,25 @@
15568
15568
  line-height: var(--body-sm-line-height);
15569
15569
  margin-inline-start: auto;
15570
15570
  }
15571
- ._textFieldRoot_62udz_1 {
15571
+ ._textFieldRoot_1rb45_1 {
15572
15572
  display: flex;
15573
15573
  flex-direction: column;
15574
15574
  font-family: var(--body-lg-family);
15575
15575
  inline-size: 100%;
15576
15576
  }
15577
- ._widthAuto_62udz_8 {
15577
+ ._widthAuto_1rb45_8 {
15578
15578
  inline-size: auto;
15579
15579
  }
15580
- ._textFieldLabel_62udz_12 {
15580
+ ._dropdownOpen_1rb45_12 {
15581
+ position: relative;
15582
+ z-index: var(--z-index-dropdown);
15583
+ }
15584
+ ._textFieldLabel_1rb45_17 {
15581
15585
  color: var(--text-neutral-secondary);
15582
15586
  display: block;
15583
15587
  margin-block-end: var(--space-5xs);
15584
15588
  }
15585
- ._outsideLabel_62udz_18 {
15589
+ ._outsideLabel_1rb45_23 {
15586
15590
  color: var(--text-neutral-primary);
15587
15591
  font-family: var(--title-md-family);
15588
15592
  font-size: var(--title-md-size);
@@ -15590,7 +15594,7 @@
15590
15594
  letter-spacing: var(--title-md-letter-spacing);
15591
15595
  line-height: var(--title-md-line-height);
15592
15596
  }
15593
- ._textFieldContainer_62udz_27 {
15597
+ ._textFieldContainer_1rb45_32 {
15594
15598
  align-items: center;
15595
15599
  border: var(--border-sm) solid var(--border-neutral-tertiary);
15596
15600
  border-radius: var(--radius-2xs);
@@ -15601,65 +15605,65 @@
15601
15605
  position: relative;
15602
15606
  transition: all var(--motion-duration-normal) var(--motion-ease-standard);
15603
15607
  }
15604
- ._insideNoIcon_62udz_46 {
15608
+ ._insideNoIcon_1rb45_51 {
15605
15609
  padding-inline: var(--space-xs) var(--space-xs);
15606
15610
  }
15607
- ._withLeadingText_62udz_51 {
15611
+ ._withLeadingText_1rb45_56 {
15608
15612
  padding: var(--space-2xs) var(--space-xs) var(--space-2xs) var(--space-2xs);
15609
15613
  }
15610
- ._outsideLabelVariant_62udz_56 {
15614
+ ._outsideLabelVariant_1rb45_61 {
15611
15615
  min-block-size: var(--dimensions-44);
15612
15616
  padding-inline: var(--space-xs) var(--space-xs);
15613
15617
  }
15614
- ._outsideLabelMedium_62udz_61 {
15618
+ ._outsideLabelMedium_1rb45_66 {
15615
15619
  font-family: var(--title-sm-family);
15616
15620
  font-size: var(--title-sm-size);
15617
15621
  font-weight: var(--title-sm-weight-emphasize);
15618
15622
  letter-spacing: var(--title-sm-letter-spacing);
15619
15623
  line-height: var(--title-sm-line-height);
15620
15624
  }
15621
- ._large_62udz_70 {
15625
+ ._large_1rb45_75 {
15622
15626
  min-block-size: var(--dimensions-56);
15623
15627
  }
15624
- ._large_62udz_70._outsideLabelVariant_62udz_56 {
15628
+ ._large_1rb45_75._outsideLabelVariant_1rb45_61 {
15625
15629
  min-block-size: var(--dimensions-44);
15626
15630
  }
15627
- ._medium_62udz_80 {
15631
+ ._medium_1rb45_85 {
15628
15632
  font-size: var(--body-md-size);
15629
15633
  line-height: var(--body-md-line-height);
15630
15634
  min-block-size: var(--dimensions-44);
15631
15635
  }
15632
- ._medium_62udz_80._outsideLabelVariant_62udz_56 {
15636
+ ._medium_1rb45_85._outsideLabelVariant_1rb45_61 {
15633
15637
  min-block-size: var(--dimensions-36);
15634
15638
  }
15635
- ._textFieldContainer_62udz_27:hover:not(._disabled_62udz_97, ._error_62udz_97) {
15639
+ ._textFieldContainer_1rb45_32:hover:not(._disabled_1rb45_102, ._error_1rb45_102) {
15636
15640
  background-color: var(--surface-state-hover);
15637
15641
  border-color: var(--border-state-hover);
15638
15642
  }
15639
- ._focused_62udz_103:not(._error_62udz_97) {
15643
+ ._focused_1rb45_108:not(._error_1rb45_102) {
15640
15644
  border-color: var(--border-state-focus);
15641
15645
  box-shadow: inset 0 0 0 var(--border-sm) var(--border-state-focus);
15642
15646
  }
15643
- ._focused_62udz_103._error_62udz_97 {
15647
+ ._focused_1rb45_108._error_1rb45_102 {
15644
15648
  box-shadow: inset 0 0 0 var(--border-sm) var(--border-state-error);
15645
15649
  }
15646
- ._error_62udz_97 {
15650
+ ._error_1rb45_102 {
15647
15651
  background-color: var(--surface-state-error);
15648
15652
  border-color: var(--border-state-error);
15649
15653
  }
15650
- ._disabled_62udz_97 {
15654
+ ._disabled_1rb45_102 {
15651
15655
  background-color: var(--surface-state-disabled);
15652
15656
  cursor: not-allowed;
15653
15657
  opacity: var(--opacity-disabled);
15654
15658
  }
15655
- ._textFieldLeadingIcon_62udz_129 {
15659
+ ._textFieldLeadingIcon_1rb45_134 {
15656
15660
  align-items: center;
15657
15661
  color: var(--foreground-neutral-primary);
15658
15662
  display: flex;
15659
15663
  justify-content: center;
15660
15664
  margin-inline-end: var(--space-xs);
15661
15665
  }
15662
- ._textFieldLeadingText_62udz_137 {
15666
+ ._textFieldLeadingText_1rb45_142 {
15663
15667
  align-items: center;
15664
15668
  background-color: var(--surface-neutral-on-surface);
15665
15669
  border-radius: var(--radius-4xs);
@@ -15673,7 +15677,7 @@
15673
15677
  padding: var(--space-4xs) var(--space-2xs);
15674
15678
  white-space: nowrap;
15675
15679
  }
15676
- ._textFieldInputWrapper_62udz_152 {
15680
+ ._textFieldInputWrapper_1rb45_157 {
15677
15681
  block-size: 100%;
15678
15682
  display: flex;
15679
15683
  flex: 1;
@@ -15681,7 +15685,7 @@
15681
15685
  padding-inline-end: var(--space-xs);
15682
15686
  position: relative;
15683
15687
  }
15684
- ._textFieldInlineLabel_62udz_161 {
15688
+ ._textFieldInlineLabel_1rb45_166 {
15685
15689
  color: var(--text-neutral-secondary);
15686
15690
  font-family: var(--body-lg-family);
15687
15691
  font-size: var(--body-lg-size);
@@ -15697,7 +15701,7 @@
15697
15701
  transition: all var(--motion-duration-normal) var(--motion-ease-standard);
15698
15702
  white-space: nowrap;
15699
15703
  }
15700
- ._shrunk_62udz_180 {
15704
+ ._shrunk_1rb45_185 {
15701
15705
  font-family: var(--label-sm-family);
15702
15706
  font-size: var(--label-sm-size);
15703
15707
  font-weight: var(--label-sm-weight-emphasize);
@@ -15706,7 +15710,7 @@
15706
15710
  line-height: var(--label-sm-line-height);
15707
15711
  transform: translateY(0);
15708
15712
  }
15709
- ._textFieldInput_62udz_152 {
15713
+ ._textFieldInput_1rb45_157 {
15710
15714
  background: transparent;
15711
15715
  block-size: 100%;
15712
15716
  border: none;
@@ -15726,49 +15730,49 @@
15726
15730
  transition: opacity var(--motion-duration-normal) var(--motion-ease-standard);
15727
15731
  white-space: nowrap;
15728
15732
  }
15729
- ._textFieldInput_62udz_152:focus {
15733
+ ._textFieldInput_1rb45_157:focus {
15730
15734
  text-overflow: clip;
15731
15735
  }
15732
- ._withInlineLabel_62udz_224 {
15736
+ ._withInlineLabel_1rb45_229 {
15733
15737
  padding-block: var(--space-md) var(--space-2xs);
15734
15738
  }
15735
- ._withInlineLabel_62udz_224:not(._active_62udz_230) {
15739
+ ._withInlineLabel_1rb45_229:not(._active_1rb45_235) {
15736
15740
  opacity: var(--opacity-hidden);
15737
15741
  }
15738
- ._withInlineLabel_62udz_224._active_62udz_230 {
15742
+ ._withInlineLabel_1rb45_229._active_1rb45_235 {
15739
15743
  opacity: var(--opacity-visible);
15740
15744
  }
15741
- ._textFieldInput_62udz_152::placeholder {
15745
+ ._textFieldInput_1rb45_157::placeholder {
15742
15746
  color: var(--text-neutral-secondary);
15743
15747
  }
15744
- ._textFieldTrailingGroup_62udz_244 {
15748
+ ._textFieldTrailingGroup_1rb45_249 {
15745
15749
  align-items: center;
15746
15750
  display: flex;
15747
15751
  gap: var(--space-xs);
15748
15752
  }
15749
- ._textFieldClearButton_62udz_250 {
15753
+ ._textFieldClearButton_1rb45_255 {
15750
15754
  block-size: var(--dimensions-20) !important;
15751
15755
  inline-size: var(--dimensions-20) !important;
15752
15756
  min-block-size: var(--dimensions-20) !important;
15753
15757
  min-inline-size: var(--dimensions-20) !important;
15754
15758
  padding: 0 !important;
15755
15759
  }
15756
- ._textFieldClearButton_62udz_250 svg {
15760
+ ._textFieldClearButton_1rb45_255 svg {
15757
15761
  block-size: var(--dimensions-20) !important;
15758
15762
  inline-size: var(--dimensions-20) !important;
15759
15763
  }
15760
- ._textFieldSuffixDivider_62udz_263 {
15764
+ ._textFieldSuffixDivider_1rb45_268 {
15761
15765
  align-self: center;
15762
15766
  block-size: var(--dimensions-24);
15763
15767
  }
15764
- ._textFieldTrailingDropdownWrapper_62udz_268 {
15768
+ ._textFieldTrailingDropdownWrapper_1rb45_273 {
15765
15769
  align-items: center;
15766
15770
  block-size: 100%;
15767
15771
  display: flex;
15768
15772
  position: relative;
15769
15773
  z-index: var(--z-index-base);
15770
15774
  }
15771
- ._textFieldTrailingDropdown_62udz_268 {
15775
+ ._textFieldTrailingDropdown_1rb45_273 {
15772
15776
  align-items: center;
15773
15777
  color: var(--text-neutral-primary);
15774
15778
  cursor: pointer;
@@ -15780,29 +15784,26 @@
15780
15784
  line-height: var(--body-lg-line-height);
15781
15785
  transition: color var(--motion-duration-normal) var(--motion-ease-standard);
15782
15786
  }
15783
- ._textFieldTrailingDropdown_62udz_268:hover,
15784
- ._activeDropdown_62udz_291 {
15787
+ ._textFieldTrailingDropdown_1rb45_273:hover,
15788
+ ._activeDropdown_1rb45_296 {
15785
15789
  color: var(--text-neutral-primary);
15786
15790
  }
15787
- ._textFieldTrailingDropdown_62udz_268 span {
15791
+ ._textFieldTrailingDropdown_1rb45_273 span {
15788
15792
  margin-inline-end: calc(var(--dimensions-4) * -1);
15789
15793
  }
15790
- ._textFieldChevronIcon_62udz_299 {
15794
+ ._textFieldChevronIcon_1rb45_304 {
15791
15795
  align-items: center;
15792
15796
  color: var(--foreground-neutral-primary);
15793
15797
  display: flex;
15794
15798
  transition: transform var(--motion-duration-normal) var(--motion-ease-standard);
15795
15799
  }
15796
- ._rotated_62udz_307 {
15800
+ ._rotated_1rb45_312 {
15797
15801
  transform: rotate(180deg);
15798
15802
  }
15799
- ._textFieldDropdownPopover_62udz_312 {
15800
- inset-inline-end: 0;
15801
- min-inline-size: calc(var(--dimensions-120) + var(--dimensions-60));
15802
- position: absolute;
15803
- z-index: var(--z-index-tooltip);
15803
+ ._textFieldDropdownPopover_1rb45_317 {
15804
+ z-index: var(--z-index-dropdown);
15804
15805
  }
15805
- ._textFieldTrailingIconWrapper_62udz_325 {
15806
+ ._textFieldTrailingIconWrapper_1rb45_321 {
15806
15807
  align-items: center;
15807
15808
  color: var(--foreground-neutral-primary);
15808
15809
  cursor: pointer;
@@ -15810,7 +15811,7 @@
15810
15811
  gap: var(--space-xs);
15811
15812
  z-index: var(--z-index-base);
15812
15813
  }
15813
- ._textFieldHelperText_62udz_336 {
15814
+ ._textFieldHelperText_1rb45_332 {
15814
15815
  color: var(--text-neutral-primary);
15815
15816
  font-family: var(--body-sm-family);
15816
15817
  font-size: var(--body-sm-size);
@@ -15818,10 +15819,10 @@
15818
15819
  line-height: var(--body-sm-line-height);
15819
15820
  margin-block-start: var(--space-4xs);
15820
15821
  }
15821
- ._errorText_62udz_345 {
15822
+ ._errorText_1rb45_341 {
15822
15823
  color: var(--text-state-error);
15823
15824
  }
15824
- ._textFieldChevronOnly_62udz_351 {
15825
+ ._textFieldChevronOnly_1rb45_347 {
15825
15826
  align-items: center;
15826
15827
  color: var(--text-neutral-primary);
15827
15828
  cursor: pointer;
@@ -15829,41 +15830,41 @@
15829
15830
  justify-content: center;
15830
15831
  padding: var(--space-2xs);
15831
15832
  }
15832
- ._textFieldChevronOnly_62udz_351:hover {
15833
+ ._textFieldChevronOnly_1rb45_347:hover {
15833
15834
  background-color: var(--surface-state-hover);
15834
15835
  border-radius: var(--radius-4xs);
15835
15836
  }
15836
- ._readOnly_62udz_366 {
15837
+ ._readOnly_1rb45_362 {
15837
15838
  background-color: var(--surface-neutral-secondary);
15838
15839
  cursor: default;
15839
15840
  }
15840
- ._readOnly_62udz_366 ._textFieldInput_62udz_152 {
15841
+ ._readOnly_1rb45_362 ._textFieldInput_1rb45_157 {
15841
15842
  cursor: default;
15842
15843
  }
15843
- ._textFieldRequiredIndicator_62udz_376 {
15844
+ ._textFieldRequiredIndicator_1rb45_372 {
15844
15845
  color: var(--text-state-error);
15845
15846
  }
15846
- ._textFieldFooter_62udz_381 {
15847
+ ._textFieldFooter_1rb45_377 {
15847
15848
  align-items: center;
15848
15849
  display: flex;
15849
15850
  gap: var(--space-xs);
15850
15851
  justify-content: space-between;
15851
15852
  margin-block-start: var(--space-4xs);
15852
15853
  }
15853
- ._medium_62udz_80 ._textFieldInput_62udz_152,
15854
- ._medium_62udz_80 ._textFieldInlineLabel_62udz_161 {
15854
+ ._medium_1rb45_85 ._textFieldInput_1rb45_157,
15855
+ ._medium_1rb45_85 ._textFieldInlineLabel_1rb45_166 {
15855
15856
  font-family: var(--body-md-family);
15856
15857
  font-size: var(--body-md-size);
15857
15858
  font-weight: var(--body-md-weight);
15858
15859
  letter-spacing: var(--body-md-letter-spacing);
15859
15860
  line-height: var(--body-md-line-height);
15860
15861
  }
15861
- ._medium_62udz_80 ._textFieldLeadingIcon_62udz_129,
15862
- ._medium_62udz_80 ._textFieldTrailingGroup_62udz_244 svg {
15862
+ ._medium_1rb45_85 ._textFieldLeadingIcon_1rb45_134,
15863
+ ._medium_1rb45_85 ._textFieldTrailingGroup_1rb45_249 svg {
15863
15864
  block-size: var(--dimensions-20);
15864
15865
  inline-size: var(--dimensions-20);
15865
15866
  }
15866
- ._medium_62udz_80 ._shrunk_62udz_180 {
15867
+ ._medium_1rb45_85 ._shrunk_1rb45_185 {
15867
15868
  font-family: var(--label-sm-family);
15868
15869
  font-size: var(--label-sm-size);
15869
15870
  font-weight: var(--label-sm-weight-emphasize);
@@ -15871,13 +15872,13 @@
15871
15872
  letter-spacing: var(--label-sm-letter-spacing);
15872
15873
  line-height: var(--label-sm-line-height);
15873
15874
  }
15874
- ._medium_62udz_80 ._withInlineLabel_62udz_224 {
15875
+ ._medium_1rb45_85 ._withInlineLabel_1rb45_229 {
15875
15876
  padding-block: var(--space-sm) var(--space-3xs);
15876
15877
  }
15877
- ._medium_62udz_80 ._textFieldInput_62udz_152 {
15878
+ ._medium_1rb45_85 ._textFieldInput_1rb45_157 {
15878
15879
  font-size: var(--body-md-size);
15879
15880
  }
15880
- ._textFieldCharacterCount_62udz_422 {
15881
+ ._textFieldCharacterCount_1rb45_418 {
15881
15882
  color: var(--text-neutral-secondary);
15882
15883
  font-family: var(--body-sm-family);
15883
15884
  font-size: var(--body-sm-size);