@youcan/celeste 0.6.26 → 0.6.27

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/celeste.css CHANGED
@@ -1680,7 +1680,7 @@ to {
1680
1680
  .celeste-text-input-button[inline=true][data-v-7d21364e]:hover {
1681
1681
  background-color: transparent !important;
1682
1682
  }/* stylelint-disable no-descending-specificity */
1683
- .celeste-text-input-wrapper[data-v-d7dad6d5] {
1683
+ .celeste-text-input-wrapper[data-v-a368a0c2] {
1684
1684
  --celeste-text-input-border-color: var(--color-stroke-soft-200);
1685
1685
  --celeste-text-input-drop-shadow: var(--shadow-regular-xs);
1686
1686
  --celeste-text-input-icon-color: var(--color-text-soft-400);
@@ -1703,28 +1703,28 @@ to {
1703
1703
  font: var(--paragraph-sm);
1704
1704
  gap: var(--input-gap);
1705
1705
  }
1706
- .celeste-text-input-wrapper[size=xs][data-v-d7dad6d5] {
1706
+ .celeste-text-input-wrapper[size=xs][data-v-a368a0c2] {
1707
1707
  --input-gap: 8px;
1708
1708
  --input-height: 32px;
1709
1709
  --input-radius: var(--radius-8);
1710
1710
  --input-padding: calc(var(--spacing-8) - var(--spacing-2));
1711
1711
  }
1712
- .celeste-text-input-wrapper[size=sm][data-v-d7dad6d5] {
1712
+ .celeste-text-input-wrapper[size=sm][data-v-a368a0c2] {
1713
1713
  --input-gap: 6px;
1714
1714
  --input-height: 36px;
1715
1715
  --input-radius: var(--radius-8);
1716
1716
  --input-padding: var(--spacing-8);
1717
1717
  }
1718
- .celeste-text-input-wrapper[size=md][data-v-d7dad6d5] {
1718
+ .celeste-text-input-wrapper[size=md][data-v-a368a0c2] {
1719
1719
  --input-gap: 6px;
1720
1720
  --input-height: 40px;
1721
1721
  --input-radius: var(--radius-10);
1722
1722
  --input-padding: var(--spacing-10);
1723
1723
  }
1724
- .celeste-text-input-wrapper[has-error=true][data-v-d7dad6d5] {
1724
+ .celeste-text-input-wrapper[has-error=true][data-v-a368a0c2] {
1725
1725
  --celeste-text-input-border-color: var(--color-state-error-base);
1726
1726
  }
1727
- .celeste-text-input-wrapper .celeste-text-input[data-v-d7dad6d5] {
1727
+ .celeste-text-input-wrapper .celeste-text-input[data-v-a368a0c2] {
1728
1728
  width: 100%;
1729
1729
  height: 100%;
1730
1730
  padding: 0;
@@ -1734,43 +1734,43 @@ to {
1734
1734
  color: inherit;
1735
1735
  font: inherit;
1736
1736
  }
1737
- .celeste-text-input-wrapper .celeste-text-input[data-v-d7dad6d5]::-moz-placeholder {
1737
+ .celeste-text-input-wrapper .celeste-text-input[data-v-a368a0c2]::-moz-placeholder {
1738
1738
  -moz-transition: color var(--animation-fast) ease-out;
1739
1739
  transition: color var(--animation-fast) ease-out;
1740
1740
  color: var(--celeste-text-input-placeholder-color);
1741
1741
  }
1742
- .celeste-text-input-wrapper .celeste-text-input[data-v-d7dad6d5]::placeholder {
1742
+ .celeste-text-input-wrapper .celeste-text-input[data-v-a368a0c2]::placeholder {
1743
1743
  transition: color var(--animation-fast) ease-out;
1744
1744
  color: var(--celeste-text-input-placeholder-color);
1745
1745
  }
1746
- .celeste-text-input-wrapper .celeste-text-input[type=search][data-v-d7dad6d5]::-webkit-search-cancel-button {
1746
+ .celeste-text-input-wrapper .celeste-text-input[type=search][data-v-a368a0c2]::-webkit-search-cancel-button {
1747
1747
  display: none;
1748
1748
  -webkit-appearance: none;
1749
1749
  appearance: none;
1750
1750
  }
1751
- .celeste-text-input-wrapper .celeste-text-input[type=search][data-v-d7dad6d5]::-webkit-search-decoration {
1751
+ .celeste-text-input-wrapper .celeste-text-input[type=search][data-v-a368a0c2]::-webkit-search-decoration {
1752
1752
  display: none;
1753
1753
  -webkit-appearance: none;
1754
1754
  appearance: none;
1755
1755
  }
1756
- .celeste-text-input-wrapper[data-v-d7dad6d5]:has(.celeste-text-input-leading-node) {
1756
+ .celeste-text-input-wrapper[data-v-a368a0c2]:has(.celeste-text-input-leading-node) {
1757
1757
  padding-inline-start: 0;
1758
1758
  }
1759
- .celeste-text-input-wrapper[data-v-d7dad6d5]:has(.celeste-text-input-trailing-node) {
1759
+ .celeste-text-input-wrapper[data-v-a368a0c2]:has(.celeste-text-input-trailing-node) {
1760
1760
  padding-inline-end: 0;
1761
1761
  }
1762
- .celeste-text-input-wrapper[data-v-d7dad6d5]:has(.celeste-text-input:focus) {
1762
+ .celeste-text-input-wrapper[data-v-a368a0c2]:has(.celeste-text-input:focus) {
1763
1763
  --celeste-text-input-border-color: var(--color-stroke-strong-950);
1764
1764
  --celeste-text-input-placeholder-color: var(--color-text-sub-600);
1765
1765
  --celeste-text-input-icon-color: var(--color-text-sub-600);
1766
1766
  --celeste-text-input-affix-color: var(--color-text-sub-600);
1767
1767
  outline-color: var(--color-stroke-soft-200);
1768
1768
  }
1769
- .celeste-text-input-wrapper:has(.celeste-text-input:focus)[has-error=true][data-v-d7dad6d5] {
1769
+ .celeste-text-input-wrapper:has(.celeste-text-input:focus)[has-error=true][data-v-a368a0c2] {
1770
1770
  --celeste-text-input-border-color: var(--color-state-error-base);
1771
1771
  outline-color: var(--color-state-error-lighter);
1772
1772
  }
1773
- .celeste-text-input-wrapper[data-v-d7dad6d5]:has(.celeste-text-input:disabled) {
1773
+ .celeste-text-input-wrapper[data-v-a368a0c2]:has(.celeste-text-input:disabled) {
1774
1774
  --celeste-text-input-border-color: transparent;
1775
1775
  --celeste-text-input-drop-shadow: none;
1776
1776
  --celeste-text-input-affix-background-color: var(--color-bg-weak-50);
@@ -1782,46 +1782,46 @@ to {
1782
1782
  color: var(--color-text-disabled-300);
1783
1783
  pointer-events: none;
1784
1784
  }
1785
- .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-d7dad6d5]::-moz-placeholder {
1785
+ .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-a368a0c2]::-moz-placeholder {
1786
1786
  color: currentcolor;
1787
1787
  }
1788
- .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-d7dad6d5]::placeholder {
1788
+ .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-a368a0c2]::placeholder {
1789
1789
  color: currentcolor;
1790
1790
  }
1791
- .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input-clear-button[data-v-d7dad6d5] {
1791
+ .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input-clear-button[data-v-a368a0c2] {
1792
1792
  color: var(--color-text-disabled-300);
1793
1793
  pointer-events: none;
1794
1794
  }
1795
- .celeste-text-input-wrapper[data-v-d7dad6d5]:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-node)) {
1795
+ .celeste-text-input-wrapper[data-v-a368a0c2]:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-node)) {
1796
1796
  --celeste-text-input-border-color: transparent;
1797
1797
  }
1798
- .celeste-text-input-wrapper[data-v-d7dad6d5]:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-node:hover)) {
1798
+ .celeste-text-input-wrapper[data-v-a368a0c2]:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-node:hover)) {
1799
1799
  --celeste-text-input-icon-color: var(--color-text-sub-600);
1800
1800
  --celeste-text-input-placeholder-color: var(--color-text-sub-600);
1801
1801
  background-color: var(--color-bg-weak-50);
1802
1802
  }
1803
- .celeste-text-input-wrapper .celeste-text-input-icon[data-v-d7dad6d5] {
1803
+ .celeste-text-input-wrapper .celeste-text-input-icon[data-v-a368a0c2] {
1804
1804
  flex-shrink: 0;
1805
1805
  width: 20px;
1806
1806
  height: 20px;
1807
1807
  transition: all var(--animation-fast) ease-out;
1808
1808
  color: var(--celeste-text-input-icon-color);
1809
1809
  }
1810
- .celeste-text-input-wrapper[data-v-d7dad6d5] .celeste-text-input-node.celeste-text-input-leading-node {
1811
- height: calc(var(--input-height) - var(--spacing-2));
1812
- border-end-start-radius: var(--input-radius);
1813
- border-start-start-radius: var(--input-radius);
1814
- border-end-end-radius: 0;
1815
- border-start-end-radius: 0;
1816
- border-inline-end: 1px solid var(--color-stroke-soft-200);
1817
- }
1818
- .celeste-text-input-wrapper[data-v-d7dad6d5] .celeste-text-input-node.celeste-text-input-trailing-node {
1819
- height: calc(var(--input-height) - var(--spacing-2));
1820
- border-end-end-radius: var(--input-radius);
1821
- border-start-end-radius: var(--input-radius);
1822
- border-end-start-radius: 0;
1823
- border-start-start-radius: 0;
1824
- border-inline-start: 1px solid var(--color-stroke-soft-200);
1810
+ .celeste-text-input-wrapper[data-v-a368a0c2] .celeste-text-input-node.celeste-text-input-leading-node {
1811
+ height: calc(var(--input-height) - var(--spacing-2)) !important;
1812
+ border-end-start-radius: var(--input-radius) !important;
1813
+ border-start-start-radius: var(--input-radius) !important;
1814
+ border-end-end-radius: 0 !important;
1815
+ border-start-end-radius: 0 !important;
1816
+ border-inline-end: 1px solid var(--color-stroke-soft-200) !important;
1817
+ }
1818
+ .celeste-text-input-wrapper[data-v-a368a0c2] *.celeste-text-input-node.celeste-text-input-trailing-node {
1819
+ height: calc(var(--input-height) - var(--spacing-2)) !important;
1820
+ border-end-end-radius: var(--input-radius) !important;
1821
+ border-start-end-radius: var(--input-radius) !important;
1822
+ border-end-start-radius: 0 !important;
1823
+ border-start-start-radius: 0 !important;
1824
+ border-inline-start: 1px solid var(--color-stroke-soft-200) !important;
1825
1825
  }.celeste-dropdown-input[data-v-bd59a65e] {
1826
1826
  display: flex;
1827
1827
  align-items: center;
@@ -115,5 +115,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
115
115
  };
116
116
  }
117
117
  });
118
- const TextInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-d7dad6d5"]]);
118
+ const TextInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-a368a0c2"]]);
119
119
  module.exports = TextInput;
@@ -114,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
114
114
  };
115
115
  }
116
116
  });
117
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d7dad6d5"]]);
117
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a368a0c2"]]);
118
118
  export {
119
119
  TextInput as default
120
120
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@youcan/celeste",
3
3
  "type": "module",
4
- "version": "0.6.26",
4
+ "version": "0.6.27",
5
5
  "author": "YouCan <tech@youcan.shop>",
6
6
  "keywords": [
7
7
  "youcan",
@@ -32,8 +32,8 @@
32
32
  "clsx": "^2.1.1",
33
33
  "radix-vue": "^1.9.12",
34
34
  "tinycolor2": "^1.6.0",
35
- "@youcan/celeste-icons": "0.6.26",
36
- "@youcan/celeste-tokens": "0.6.26"
35
+ "@youcan/celeste-icons": "0.6.27",
36
+ "@youcan/celeste-tokens": "0.6.27"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@chromatic-com/storybook": "^4.0.0",
@@ -240,21 +240,21 @@ export interface TextInputProps extends /* @vue-ignore */ InputHTMLAttributes {
240
240
  }
241
241
 
242
242
  :deep(.celeste-text-input-node.celeste-text-input-leading-node) {
243
- height: calc(var(--input-height) - var(--spacing-2));
244
- border-end-start-radius: var(--input-radius);
245
- border-start-start-radius: var(--input-radius);
246
- border-end-end-radius: 0;
247
- border-start-end-radius: 0;
248
- border-inline-end: 1px solid var(--color-stroke-soft-200);
243
+ height: calc(var(--input-height) - var(--spacing-2)) !important;
244
+ border-end-start-radius: var(--input-radius) !important;
245
+ border-start-start-radius: var(--input-radius) !important;
246
+ border-end-end-radius: 0 !important;
247
+ border-start-end-radius: 0 !important;
248
+ border-inline-end: 1px solid var(--color-stroke-soft-200) !important;
249
249
  }
250
250
 
251
- :deep(.celeste-text-input-node.celeste-text-input-trailing-node) {
252
- height: calc(var(--input-height) - var(--spacing-2));
253
- border-end-end-radius: var(--input-radius);
254
- border-start-end-radius: var(--input-radius);
255
- border-end-start-radius: 0;
256
- border-start-start-radius: 0;
257
- border-inline-start: 1px solid var(--color-stroke-soft-200);
251
+ :deep(*.celeste-text-input-node.celeste-text-input-trailing-node) {
252
+ height: calc(var(--input-height) - var(--spacing-2)) !important;
253
+ border-end-end-radius: var(--input-radius) !important;
254
+ border-start-end-radius: var(--input-radius) !important;
255
+ border-end-start-radius: 0 !important;
256
+ border-start-start-radius: 0 !important;
257
+ border-inline-start: 1px solid var(--color-stroke-soft-200) !important;
258
258
  }
259
259
  }
260
260
  </style>