@youcan/celeste 0.6.8 → 0.6.10

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
@@ -1529,7 +1529,7 @@ to {
1529
1529
  initial-value: rgba(0, 0, 0, 0);
1530
1530
  inherits: false;
1531
1531
  }
1532
- .celeste-social-button[data-v-7e944825] {
1532
+ .celeste-social-button[data-v-694226a7] {
1533
1533
  display: flex;
1534
1534
  align-items: center;
1535
1535
  justify-content: center;
@@ -1540,68 +1540,69 @@ to {
1540
1540
  border: 1px solid transparent;
1541
1541
  border-radius: var(--radius-10);
1542
1542
  font: var(--label-sm);
1543
- gap: var(--spacing-8);
1543
+ text-decoration: none;
1544
1544
  cursor: pointer;
1545
+ gap: var(--spacing-8);
1545
1546
  }
1546
- .celeste-social-button span[data-v-7e944825] {
1547
+ .celeste-social-button span[data-v-694226a7] {
1547
1548
  padding-inline-end: var(--spacing-6);
1548
1549
  }
1549
- .celeste-social-button[data-v-7e944825]:focus {
1550
+ .celeste-social-button[data-v-694226a7]:focus {
1550
1551
  outline: none;
1551
1552
  box-shadow: var(--shadow-buttons-important-focus);
1552
1553
  }
1553
- .celeste-social-button-fill[data-v-7e944825] {
1554
+ .celeste-social-button-fill[data-v-694226a7] {
1554
1555
  color: var(--color-text-white-0);
1555
1556
  }
1556
- .celeste-social-button-stroke[data-v-7e944825] {
1557
+ .celeste-social-button-stroke[data-v-694226a7] {
1557
1558
  border-color: var(--color-stroke-soft-200);
1558
1559
  background-color: var(--color-bg-white-0);
1559
1560
  box-shadow: var(--shadow-regular-xs);
1560
1561
  color: var(--text-strong-950);
1561
1562
  }
1562
- .celeste-social-button-stroke[data-v-7e944825]:hover {
1563
+ .celeste-social-button-stroke[data-v-694226a7]:hover {
1563
1564
  border-color: transparent;
1564
1565
  background: var(--color-bg-weak-50);
1565
1566
  }
1566
- .celeste-social-button i[data-v-7e944825] {
1567
+ .celeste-social-button i[data-v-694226a7] {
1567
1568
  flex-shrink: 0;
1568
1569
  width: 20px;
1569
1570
  height: 20px;
1570
1571
  }
1571
- .celeste-social-button-google[data-v-7e944825]:not(.celeste-social-button-stroke) {
1572
+ .celeste-social-button-google[data-v-694226a7]:not(.celeste-social-button-stroke) {
1572
1573
  background: linear-gradient(0deg, var(--celeste-social-button-bg) 0%, var(--celeste-social-button-bg) 100%), #f14336;
1573
1574
  }
1574
- .celeste-social-button-google[data-v-7e944825]:not(.celeste-social-button-stroke):hover {
1575
+ .celeste-social-button-google[data-v-694226a7]:not(.celeste-social-button-stroke):hover {
1575
1576
  --celeste-social-button-bg: rgba(0, 0, 0, 0.16);
1576
1577
  }
1577
- .celeste-social-button-apple[data-v-7e944825]:not(.celeste-social-button-stroke) {
1578
+ .celeste-social-button-apple[data-v-694226a7]:not(.celeste-social-button-stroke) {
1578
1579
  background: linear-gradient(0deg, var(--celeste-social-button-bg) 0%, var(--celeste-social-button-bg) 100%), #000;
1579
1580
  }
1580
- .celeste-social-button-apple[data-v-7e944825]:not(.celeste-social-button-stroke):hover {
1581
+ .celeste-social-button-apple[data-v-694226a7]:not(.celeste-social-button-stroke):hover {
1581
1582
  --celeste-social-button-bg: rgba(255, 255, 255, 0.16);
1582
1583
  }
1583
- .celeste-social-button-twitter[data-v-7e944825]:not(.celeste-social-button-stroke) {
1584
+ .celeste-social-button-twitter[data-v-694226a7]:not(.celeste-social-button-stroke) {
1584
1585
  background: linear-gradient(0deg, var(--celeste-social-button-bg) 0%, var(--celeste-social-button-bg) 100%), #000;
1585
1586
  }
1586
- .celeste-social-button-twitter[data-v-7e944825]:not(.celeste-social-button-stroke):hover {
1587
+ .celeste-social-button-twitter[data-v-694226a7]:not(.celeste-social-button-stroke):hover {
1587
1588
  --celeste-social-button-bg: rgba(255, 255, 255, 0.16);
1588
1589
  }
1589
- .celeste-social-button-facebook[data-v-7e944825]:not(.celeste-social-button-stroke) {
1590
+ .celeste-social-button-facebook[data-v-694226a7]:not(.celeste-social-button-stroke) {
1590
1591
  background: linear-gradient(0deg, var(--celeste-social-button-bg) 0%, var(--celeste-social-button-bg) 100%), #1977f3;
1591
1592
  }
1592
- .celeste-social-button-facebook[data-v-7e944825]:not(.celeste-social-button-stroke):hover {
1593
+ .celeste-social-button-facebook[data-v-694226a7]:not(.celeste-social-button-stroke):hover {
1593
1594
  --celeste-social-button-bg: rgba(0, 0, 0, 0.16);
1594
1595
  }
1595
- .celeste-social-button-linkedin[data-v-7e944825]:not(.celeste-social-button-stroke) {
1596
+ .celeste-social-button-linkedin[data-v-694226a7]:not(.celeste-social-button-stroke) {
1596
1597
  background: linear-gradient(0deg, var(--celeste-social-button-bg) 0%, var(--celeste-social-button-bg) 100%), #0077b5;
1597
1598
  }
1598
- .celeste-social-button-linkedin[data-v-7e944825]:not(.celeste-social-button-stroke):hover {
1599
+ .celeste-social-button-linkedin[data-v-694226a7]:not(.celeste-social-button-stroke):hover {
1599
1600
  --celeste-social-button-bg: rgba(0, 0, 0, 0.16);
1600
1601
  }
1601
- .celeste-social-button-github[data-v-7e944825]:not(.celeste-social-button-stroke) {
1602
+ .celeste-social-button-github[data-v-694226a7]:not(.celeste-social-button-stroke) {
1602
1603
  background: linear-gradient(0deg, var(--celeste-social-button-bg) 0%, var(--celeste-social-button-bg) 100%), #24292f;
1603
1604
  }
1604
- .celeste-social-button-github[data-v-7e944825]:not(.celeste-social-button-stroke):hover {
1605
+ .celeste-social-button-github[data-v-694226a7]:not(.celeste-social-button-stroke):hover {
1605
1606
  --celeste-social-button-bg: rgba(255, 255, 255, 0.16);
1606
1607
  }.celeste-context-menu-item[data-v-3d94f388] {
1607
1608
  display: flex;
@@ -1842,7 +1843,7 @@ to {
1842
1843
  }
1843
1844
  .celeste-dropdown-item .celeste-dropdown-item-header-lg .celeste-dropdown-item-label[data-v-a0a634ce] {
1844
1845
  font-weight: var(--font-weights-display-0);
1845
- }.celeste-text-input-wrapper[data-v-a28be4ca] {
1846
+ }.celeste-text-input-wrapper[data-v-1dfd5779] {
1846
1847
  display: flex;
1847
1848
  box-sizing: border-box;
1848
1849
  align-items: center;
@@ -1861,28 +1862,28 @@ to {
1861
1862
  font: var(--paragraph-sm);
1862
1863
  gap: var(--input-gap);
1863
1864
  }
1864
- .celeste-text-input-wrapper[size=xs][data-v-a28be4ca] {
1865
+ .celeste-text-input-wrapper[size=xs][data-v-1dfd5779] {
1865
1866
  --input-gap: 8px;
1866
1867
  --input-height: 32px;
1867
1868
  --input-radius: var(--radius-8);
1868
1869
  --input-padding: calc(var(--spacing-8) - var(--spacing-2));
1869
1870
  }
1870
- .celeste-text-input-wrapper[size=sm][data-v-a28be4ca] {
1871
+ .celeste-text-input-wrapper[size=sm][data-v-1dfd5779] {
1871
1872
  --input-gap: 6px;
1872
1873
  --input-height: 36px;
1873
1874
  --input-radius: var(--radius-8);
1874
1875
  --input-padding: var(--spacing-8);
1875
1876
  }
1876
- .celeste-text-input-wrapper[size=md][data-v-a28be4ca] {
1877
+ .celeste-text-input-wrapper[size=md][data-v-1dfd5779] {
1877
1878
  --input-gap: 6px;
1878
1879
  --input-height: 40px;
1879
1880
  --input-radius: var(--radius-10);
1880
1881
  --input-padding: var(--spacing-10);
1881
1882
  }
1882
- .celeste-text-input-wrapper[has-error=true][data-v-a28be4ca] {
1883
+ .celeste-text-input-wrapper[has-error=true][data-v-1dfd5779] {
1883
1884
  border-color: var(--color-state-error-base);
1884
1885
  }
1885
- .celeste-text-input-wrapper .celeste-text-input[data-v-a28be4ca] {
1886
+ .celeste-text-input-wrapper .celeste-text-input[data-v-1dfd5779] {
1886
1887
  width: 100%;
1887
1888
  height: 100%;
1888
1889
  padding: 0;
@@ -1892,90 +1893,90 @@ to {
1892
1893
  color: inherit;
1893
1894
  font: inherit;
1894
1895
  }
1895
- .celeste-text-input-wrapper .celeste-text-input[data-v-a28be4ca]::-moz-placeholder {
1896
+ .celeste-text-input-wrapper .celeste-text-input[data-v-1dfd5779]::-moz-placeholder {
1896
1897
  -moz-transition: color var(--animation-fast) ease-out;
1897
1898
  transition: color var(--animation-fast) ease-out;
1898
1899
  color: var(--color-text-soft-400);
1899
1900
  }
1900
- .celeste-text-input-wrapper .celeste-text-input[data-v-a28be4ca]::placeholder {
1901
+ .celeste-text-input-wrapper .celeste-text-input[data-v-1dfd5779]::placeholder {
1901
1902
  transition: color var(--animation-fast) ease-out;
1902
1903
  color: var(--color-text-soft-400);
1903
1904
  }
1904
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:focus) {
1905
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:focus) {
1905
1906
  border-color: var(--color-stroke-strong-950);
1906
1907
  outline-color: var(--color-stroke-soft-200);
1907
1908
  }
1908
- .celeste-text-input-wrapper:has(.celeste-text-input:focus)[has-error=true][data-v-a28be4ca] {
1909
+ .celeste-text-input-wrapper:has(.celeste-text-input:focus)[has-error=true][data-v-1dfd5779] {
1909
1910
  border-color: var(--color-state-error-base);
1910
1911
  outline-color: var(--color-state-error-lighter);
1911
1912
  }
1912
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:disabled) {
1913
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:disabled) {
1913
1914
  border-color: transparent;
1914
1915
  background-color: var(--color-bg-weak-50);
1915
1916
  box-shadow: none;
1916
1917
  color: var(--color-text-disabled-300);
1917
1918
  pointer-events: none;
1918
1919
  }
1919
- .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-a28be4ca]::-moz-placeholder {
1920
+ .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-1dfd5779]::-moz-placeholder {
1920
1921
  color: currentcolor;
1921
1922
  }
1922
- .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-a28be4ca]::placeholder {
1923
+ .celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-1dfd5779]::placeholder {
1923
1924
  color: currentcolor;
1924
1925
  }
1925
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:disabled) .celeste-text-input-icon {
1926
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:disabled) .celeste-text-input-icon {
1926
1927
  color: var(--color-icon-disabled-300);
1927
1928
  }
1928
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:disabled) .celeste-text-input-affix, .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:disabled) .celeste-text-input-button {
1929
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:disabled) .celeste-text-input-affix, .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:disabled) .celeste-text-input-button {
1929
1930
  background-color: var(--color-bg-weak-50) !important;
1930
1931
  color: var(--color-text-disabled-300);
1931
1932
  }
1932
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) {
1933
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) {
1933
1934
  gap: var(--spacing-0);
1934
1935
  padding-inline-end: var(--spacing-0);
1935
1936
  }
1936
- .celeste-text-input-wrapper:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]):has(.celeste-text-input-button[inline=false], .celeste-text-input-affix[variant=suffix]) .celeste-text-input[data-v-a28be4ca] {
1937
+ .celeste-text-input-wrapper:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]):has(.celeste-text-input-button[inline=false], .celeste-text-input-affix[variant=suffix]) .celeste-text-input[data-v-1dfd5779] {
1937
1938
  padding-inline-end: var(--input-padding);
1938
1939
  border-inline-end: 1px solid var(--color-stroke-soft-200);
1939
1940
  }
1940
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]):has(.celeste-text-input-affix[variant=prefix]) {
1941
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]):has(.celeste-text-input-affix[variant=prefix]) {
1941
1942
  padding-inline: var(--spacing-0) var(--input-padding);
1942
1943
  }
1943
- .celeste-text-input-wrapper:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]):has(.celeste-text-input-affix[variant=prefix]) .celeste-text-input[data-v-a28be4ca] {
1944
+ .celeste-text-input-wrapper:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]):has(.celeste-text-input-affix[variant=prefix]) .celeste-text-input[data-v-1dfd5779] {
1944
1945
  padding-inline-start: var(--input-padding);
1945
1946
  border-inline-start: 1px solid var(--color-stroke-soft-200);
1946
1947
  }
1947
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) .celeste-text-input-icon[position=start] {
1948
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) .celeste-text-input-icon[position=start] {
1948
1949
  margin-inline-end: var(--input-gap);
1949
1950
  }
1950
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) .celeste-text-input-icon[position=end] {
1951
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) .celeste-text-input-icon[position=end] {
1951
1952
  margin-inline-start: var(--input-gap);
1952
1953
  }
1953
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:hover:not(:focus, :disabled)) {
1954
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:hover:not(:focus, :disabled)) {
1954
1955
  /* stylelint-disable-next-line no-descending-specificity */
1955
1956
  }
1956
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button, .celeste-text-input-affix)) {
1957
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button, .celeste-text-input-affix)) {
1957
1958
  border-color: transparent;
1958
1959
  background-color: var(--color-bg-weak-50);
1959
1960
  }
1960
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:hover:not(:focus, :disabled)):has(.celeste-text-input-button:not(:hover), .celeste-text-input-affix:not(:hover)) {
1961
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:hover:not(:focus, :disabled)):has(.celeste-text-input-button:not(:hover), .celeste-text-input-affix:not(:hover)) {
1961
1962
  background-color: var(--color-bg-weak-50);
1962
1963
  }
1963
- .celeste-text-input-wrapper:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button:hover)) .celeste-text-input[data-v-a28be4ca]::-moz-placeholder {
1964
+ .celeste-text-input-wrapper:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button:hover)) .celeste-text-input[data-v-1dfd5779]::-moz-placeholder {
1964
1965
  color: var(--color-text-sub-600);
1965
1966
  }
1966
- .celeste-text-input-wrapper:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button:hover)) .celeste-text-input[data-v-a28be4ca]::placeholder {
1967
+ .celeste-text-input-wrapper:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button:hover)) .celeste-text-input[data-v-1dfd5779]::placeholder {
1967
1968
  color: var(--color-text-sub-600);
1968
1969
  }
1969
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) {
1970
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) {
1970
1971
  /* stylelint-disable-next-line no-descending-specificity */
1971
1972
  }
1972
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:placeholder-shown:not(:disabled)) {
1973
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:placeholder-shown:not(:disabled)) {
1973
1974
  /* stylelint-disable-next-line no-descending-specificity */
1974
1975
  }
1975
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) .celeste-text-input-icon, .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) .celeste-text-input-affix {
1976
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) .celeste-text-input-icon, .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) .celeste-text-input-affix {
1976
1977
  color: var(--color-text-soft-400);
1977
1978
  }
1978
- .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:placeholder-shown:not(:disabled)) .celeste-text-input-icon, .celeste-text-input-wrapper[data-v-a28be4ca]:has(.celeste-text-input:placeholder-shown:not(:disabled)) .celeste-text-input-affix {
1979
+ .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:placeholder-shown:not(:disabled)) .celeste-text-input-icon, .celeste-text-input-wrapper[data-v-1dfd5779]:has(.celeste-text-input:placeholder-shown:not(:disabled)) .celeste-text-input-affix {
1979
1980
  color: var(--color-text-soft-400);
1980
1981
  }[data-v-2cc18da8] {
1981
1982
  box-sizing: border-box;
@@ -41,5 +41,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
41
41
  };
42
42
  }
43
43
  });
44
- const socialButton = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-7e944825"]]);
44
+ const socialButton = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-694226a7"]]);
45
45
  module.exports = socialButton;
@@ -22,20 +22,20 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
22
22
  return Mo.openBlock(), Mo.createElementBlock("label", {
23
23
  size: _ctx.size,
24
24
  "has-error": _ctx.hasError,
25
- class: "celeste-text-input-wrapper"
25
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-text-input-wrapper", props.class))
26
26
  }, [
27
27
  Mo.withDirectives(Mo.createElementVNode("input", Mo.mergeProps({
28
28
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event)
29
29
  }, _ctx.$attrs, {
30
30
  type: _ctx.type,
31
- class: Mo.unref(clsx.clsx)("celeste-text-input", props.class)
31
+ class: "celeste-text-input"
32
32
  }), null, 16, _hoisted_2), [
33
33
  [Mo.vModelDynamic, modelValue.value]
34
34
  ]),
35
35
  Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
36
- ], 8, _hoisted_1);
36
+ ], 10, _hoisted_1);
37
37
  };
38
38
  }
39
39
  });
40
- const TextInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-a28be4ca"]]);
40
+ const TextInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-1dfd5779"]]);
41
41
  module.exports = TextInput;
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  };
41
41
  }
42
42
  });
43
- const socialButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7e944825"]]);
43
+ const socialButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-694226a7"]]);
44
44
  export {
45
45
  socialButton as default
46
46
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, mergeModels, useModel, openBlock, createElementBlock, withDirectives, createElementVNode, mergeProps, unref, vModelDynamic, renderSlot } from "vue";
1
+ import { defineComponent, mergeModels, useModel, openBlock, createElementBlock, normalizeClass, unref, withDirectives, createElementVNode, mergeProps, vModelDynamic, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
4
4
  const _hoisted_1 = ["size", "has-error"];
@@ -21,22 +21,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  return openBlock(), createElementBlock("label", {
22
22
  size: _ctx.size,
23
23
  "has-error": _ctx.hasError,
24
- class: "celeste-text-input-wrapper"
24
+ class: normalizeClass(unref(clsx)("celeste-text-input-wrapper", props.class))
25
25
  }, [
26
26
  withDirectives(createElementVNode("input", mergeProps({
27
27
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event)
28
28
  }, _ctx.$attrs, {
29
29
  type: _ctx.type,
30
- class: unref(clsx)("celeste-text-input", props.class)
30
+ class: "celeste-text-input"
31
31
  }), null, 16, _hoisted_2), [
32
32
  [vModelDynamic, modelValue.value]
33
33
  ]),
34
34
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
35
- ], 8, _hoisted_1);
35
+ ], 10, _hoisted_1);
36
36
  };
37
37
  }
38
38
  });
39
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a28be4ca"]]);
39
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1dfd5779"]]);
40
40
  export {
41
41
  TextInput as default
42
42
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@youcan/celeste",
3
3
  "type": "module",
4
- "version": "0.6.8",
4
+ "version": "0.6.10",
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.8",
36
- "@youcan/celeste-tokens": "0.6.8"
35
+ "@youcan/celeste-icons": "0.6.10",
36
+ "@youcan/celeste-tokens": "0.6.10"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@chromatic-com/storybook": "^4.0.0",
@@ -81,8 +81,9 @@ $brand-map: (
81
81
  border: 1px solid transparent;
82
82
  border-radius: var(--radius-10);
83
83
  font: var(--label-sm);
84
- gap: var(--spacing-8);
84
+ text-decoration: none;
85
85
  cursor: pointer;
86
+ gap: var(--spacing-8);
86
87
 
87
88
  span {
88
89
  padding-inline-end: var(--spacing-6);
@@ -23,13 +23,13 @@ export interface TextInputProps extends /* @vue-ignore */ InputHTMLAttributes {
23
23
  <label
24
24
  :size="size"
25
25
  :has-error="hasError"
26
- class="celeste-text-input-wrapper"
26
+ :class="clsx('celeste-text-input-wrapper', props.class)"
27
27
  >
28
28
  <input
29
29
  v-model="modelValue"
30
30
  v-bind="$attrs"
31
31
  :type="type"
32
- :class="clsx('celeste-text-input', props.class)"
32
+ class="celeste-text-input"
33
33
  >
34
34
  <slot />
35
35
  </label>