@youcan/celeste 0.6.13 → 0.6.15
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 +46 -46
- package/dist/cjs/link-button.js +2 -2
- package/dist/cjs/text-input.js +2 -2
- package/dist/components/text-input/text-input.d.ts +1 -1
- package/dist/es/link-button.js +2 -2
- package/dist/es/text-input.js +2 -2
- package/package.json +3 -3
- package/src/components/button/link-button.vue +1 -1
- package/src/components/text-input/text-input.vue +2 -2
package/dist/celeste.css
CHANGED
|
@@ -1461,7 +1461,7 @@ to {
|
|
|
1461
1461
|
background: var(--color-bg-weak-50);
|
|
1462
1462
|
box-shadow: var(--shadow-buttons-important-focus);
|
|
1463
1463
|
color: var(--text-strong-950);
|
|
1464
|
-
}.celeste-link-button[data-v-
|
|
1464
|
+
}.celeste-link-button[data-v-82b3b1ab] {
|
|
1465
1465
|
display: inline-flex;
|
|
1466
1466
|
align-items: center;
|
|
1467
1467
|
justify-content: center;
|
|
@@ -1471,58 +1471,58 @@ to {
|
|
|
1471
1471
|
text-decoration: none;
|
|
1472
1472
|
cursor: pointer;
|
|
1473
1473
|
}
|
|
1474
|
-
.celeste-link-button[data-v-
|
|
1474
|
+
.celeste-link-button[data-v-82b3b1ab]:disabled, .celeste-link-button-disabled[data-v-82b3b1ab] {
|
|
1475
1475
|
color: var(--color-text-disabled-300);
|
|
1476
1476
|
cursor: default;
|
|
1477
1477
|
pointer-events: none;
|
|
1478
1478
|
}
|
|
1479
|
-
.celeste-link-button[data-v-
|
|
1479
|
+
.celeste-link-button[data-v-82b3b1ab]:hover, .celeste-link-button[data-v-82b3b1ab]:focus {
|
|
1480
1480
|
outline: none;
|
|
1481
1481
|
text-decoration: underline;
|
|
1482
1482
|
}
|
|
1483
|
-
.celeste-link-button-underline[data-v-
|
|
1483
|
+
.celeste-link-button-underline[data-v-82b3b1ab] {
|
|
1484
1484
|
text-decoration: underline;
|
|
1485
1485
|
}
|
|
1486
|
-
.celeste-link-button-md[data-v-
|
|
1486
|
+
.celeste-link-button-md[data-v-82b3b1ab] {
|
|
1487
1487
|
height: 20px;
|
|
1488
1488
|
font: var(--label-sm);
|
|
1489
1489
|
}
|
|
1490
|
-
.celeste-link-button-md[data-v-
|
|
1490
|
+
.celeste-link-button-md[data-v-82b3b1ab] i {
|
|
1491
1491
|
flex-shrink: 0;
|
|
1492
1492
|
width: 20px;
|
|
1493
1493
|
height: 20px;
|
|
1494
1494
|
}
|
|
1495
|
-
.celeste-link-button-sm[data-v-
|
|
1495
|
+
.celeste-link-button-sm[data-v-82b3b1ab] {
|
|
1496
1496
|
height: 16px;
|
|
1497
1497
|
font: var(--label-xs);
|
|
1498
1498
|
}
|
|
1499
|
-
.celeste-link-button-sm[data-v-
|
|
1499
|
+
.celeste-link-button-sm[data-v-82b3b1ab] i {
|
|
1500
1500
|
flex-shrink: 0;
|
|
1501
1501
|
width: 16px;
|
|
1502
1502
|
height: 16px;
|
|
1503
1503
|
}
|
|
1504
|
-
.celeste-link-button-primary[data-v-
|
|
1504
|
+
.celeste-link-button-primary[data-v-82b3b1ab]:not(.celeste-link-button-disabled) {
|
|
1505
1505
|
color: var(--color-primary-base);
|
|
1506
1506
|
}
|
|
1507
|
-
.celeste-link-button-primary[data-v-
|
|
1507
|
+
.celeste-link-button-primary[data-v-82b3b1ab]:not(.celeste-link-button-disabled):hover, .celeste-link-button-primary[data-v-82b3b1ab]:not(.celeste-link-button-disabled):focus {
|
|
1508
1508
|
color: var(--color-primary-darker);
|
|
1509
1509
|
}
|
|
1510
|
-
.celeste-link-button-black[data-v-
|
|
1510
|
+
.celeste-link-button-black[data-v-82b3b1ab]:not(.celeste-link-button-disabled) {
|
|
1511
1511
|
color: var(--color-text-strong-950);
|
|
1512
1512
|
}
|
|
1513
|
-
.celeste-link-button-black[data-v-
|
|
1513
|
+
.celeste-link-button-black[data-v-82b3b1ab]:not(.celeste-link-button-disabled):hover, .celeste-link-button-black[data-v-82b3b1ab]:not(.celeste-link-button-disabled):focus {
|
|
1514
1514
|
color: var(--color-text-strong-950);
|
|
1515
1515
|
}
|
|
1516
|
-
.celeste-link-button-gray[data-v-
|
|
1516
|
+
.celeste-link-button-gray[data-v-82b3b1ab]:not(.celeste-link-button-disabled) {
|
|
1517
1517
|
color: var(--color-text-sub-600);
|
|
1518
1518
|
}
|
|
1519
|
-
.celeste-link-button-gray[data-v-
|
|
1519
|
+
.celeste-link-button-gray[data-v-82b3b1ab]:not(.celeste-link-button-disabled):hover, .celeste-link-button-gray[data-v-82b3b1ab]:not(.celeste-link-button-disabled):focus {
|
|
1520
1520
|
color: var(--color-text-sub-600);
|
|
1521
1521
|
}
|
|
1522
|
-
.celeste-link-button-error[data-v-
|
|
1522
|
+
.celeste-link-button-error[data-v-82b3b1ab]:not(.celeste-link-button-disabled) {
|
|
1523
1523
|
color: var(--color-state-error-base);
|
|
1524
1524
|
}
|
|
1525
|
-
.celeste-link-button-error[data-v-
|
|
1525
|
+
.celeste-link-button-error[data-v-82b3b1ab]:not(.celeste-link-button-disabled):hover, .celeste-link-button-error[data-v-82b3b1ab]:not(.celeste-link-button-disabled):focus {
|
|
1526
1526
|
color: var(--color-red-700);
|
|
1527
1527
|
}@property --celeste-social-button-bg {
|
|
1528
1528
|
syntax: "<color>";
|
|
@@ -1843,7 +1843,7 @@ to {
|
|
|
1843
1843
|
}
|
|
1844
1844
|
.celeste-dropdown-item .celeste-dropdown-item-header-lg .celeste-dropdown-item-label[data-v-a0a634ce] {
|
|
1845
1845
|
font-weight: var(--font-weights-display-0);
|
|
1846
|
-
}.celeste-text-input-wrapper[data-v-
|
|
1846
|
+
}.celeste-text-input-wrapper[data-v-105e81d6] {
|
|
1847
1847
|
display: flex;
|
|
1848
1848
|
box-sizing: border-box;
|
|
1849
1849
|
align-items: center;
|
|
@@ -1860,28 +1860,28 @@ to {
|
|
|
1860
1860
|
font: var(--paragraph-sm);
|
|
1861
1861
|
gap: var(--input-gap);
|
|
1862
1862
|
}
|
|
1863
|
-
.celeste-text-input-wrapper[size=xs][data-v-
|
|
1863
|
+
.celeste-text-input-wrapper[size=xs][data-v-105e81d6] {
|
|
1864
1864
|
--input-gap: 8px;
|
|
1865
1865
|
--input-height: 32px;
|
|
1866
1866
|
--input-radius: var(--radius-8);
|
|
1867
1867
|
--input-padding: calc(var(--spacing-8) - var(--spacing-2));
|
|
1868
1868
|
}
|
|
1869
|
-
.celeste-text-input-wrapper[size=sm][data-v-
|
|
1869
|
+
.celeste-text-input-wrapper[size=sm][data-v-105e81d6] {
|
|
1870
1870
|
--input-gap: 6px;
|
|
1871
1871
|
--input-height: 36px;
|
|
1872
1872
|
--input-radius: var(--radius-8);
|
|
1873
1873
|
--input-padding: var(--spacing-8);
|
|
1874
1874
|
}
|
|
1875
|
-
.celeste-text-input-wrapper[size=md][data-v-
|
|
1875
|
+
.celeste-text-input-wrapper[size=md][data-v-105e81d6] {
|
|
1876
1876
|
--input-gap: 6px;
|
|
1877
1877
|
--input-height: 40px;
|
|
1878
1878
|
--input-radius: var(--radius-10);
|
|
1879
1879
|
--input-padding: var(--spacing-10);
|
|
1880
1880
|
}
|
|
1881
|
-
.celeste-text-input-wrapper[has-error=true][data-v-
|
|
1881
|
+
.celeste-text-input-wrapper[has-error=true][data-v-105e81d6] {
|
|
1882
1882
|
border-color: var(--color-state-error-base);
|
|
1883
1883
|
}
|
|
1884
|
-
.celeste-text-input-wrapper .celeste-text-input[data-v-
|
|
1884
|
+
.celeste-text-input-wrapper .celeste-text-input[data-v-105e81d6] {
|
|
1885
1885
|
width: 100%;
|
|
1886
1886
|
height: 100%;
|
|
1887
1887
|
padding: 0;
|
|
@@ -1891,90 +1891,90 @@ to {
|
|
|
1891
1891
|
color: inherit;
|
|
1892
1892
|
font: inherit;
|
|
1893
1893
|
}
|
|
1894
|
-
.celeste-text-input-wrapper .celeste-text-input[data-v-
|
|
1894
|
+
.celeste-text-input-wrapper .celeste-text-input[data-v-105e81d6]::-moz-placeholder {
|
|
1895
1895
|
-moz-transition: color var(--animation-fast) ease-out;
|
|
1896
1896
|
transition: color var(--animation-fast) ease-out;
|
|
1897
1897
|
color: var(--color-text-soft-400);
|
|
1898
1898
|
}
|
|
1899
|
-
.celeste-text-input-wrapper .celeste-text-input[data-v-
|
|
1899
|
+
.celeste-text-input-wrapper .celeste-text-input[data-v-105e81d6]::placeholder {
|
|
1900
1900
|
transition: color var(--animation-fast) ease-out;
|
|
1901
1901
|
color: var(--color-text-soft-400);
|
|
1902
1902
|
}
|
|
1903
|
-
.celeste-text-input-wrapper[data-v-
|
|
1903
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:focus) {
|
|
1904
1904
|
border-color: var(--color-stroke-strong-950);
|
|
1905
1905
|
outline-color: var(--color-stroke-soft-200);
|
|
1906
1906
|
}
|
|
1907
|
-
.celeste-text-input-wrapper:has(.celeste-text-input:focus)[has-error=true][data-v-
|
|
1907
|
+
.celeste-text-input-wrapper:has(.celeste-text-input:focus)[has-error=true][data-v-105e81d6] {
|
|
1908
1908
|
border-color: var(--color-state-error-base);
|
|
1909
1909
|
outline-color: var(--color-state-error-lighter);
|
|
1910
1910
|
}
|
|
1911
|
-
.celeste-text-input-wrapper[data-v-
|
|
1911
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:disabled) {
|
|
1912
1912
|
border-color: transparent;
|
|
1913
1913
|
background-color: var(--color-bg-weak-50);
|
|
1914
1914
|
box-shadow: none;
|
|
1915
1915
|
color: var(--color-text-disabled-300);
|
|
1916
1916
|
pointer-events: none;
|
|
1917
1917
|
}
|
|
1918
|
-
.celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-
|
|
1918
|
+
.celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-105e81d6]::-moz-placeholder {
|
|
1919
1919
|
color: currentcolor;
|
|
1920
1920
|
}
|
|
1921
|
-
.celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-
|
|
1921
|
+
.celeste-text-input-wrapper:has(.celeste-text-input:disabled) .celeste-text-input[data-v-105e81d6]::placeholder {
|
|
1922
1922
|
color: currentcolor;
|
|
1923
1923
|
}
|
|
1924
|
-
.celeste-text-input-wrapper[data-v-
|
|
1924
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:disabled) .celeste-text-input-icon {
|
|
1925
1925
|
color: var(--color-icon-disabled-300);
|
|
1926
1926
|
}
|
|
1927
|
-
.celeste-text-input-wrapper[data-v-
|
|
1927
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:disabled) .celeste-text-input-affix, .celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:disabled) .celeste-text-input-button {
|
|
1928
1928
|
background-color: var(--color-bg-weak-50) !important;
|
|
1929
1929
|
color: var(--color-text-disabled-300);
|
|
1930
1930
|
}
|
|
1931
|
-
.celeste-text-input-wrapper[data-v-
|
|
1931
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) {
|
|
1932
1932
|
gap: var(--spacing-0);
|
|
1933
1933
|
padding-inline-end: var(--spacing-0);
|
|
1934
1934
|
}
|
|
1935
|
-
.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-
|
|
1935
|
+
.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-105e81d6] {
|
|
1936
1936
|
padding-inline-end: var(--input-padding);
|
|
1937
1937
|
border-inline-end: 1px solid var(--color-stroke-soft-200);
|
|
1938
1938
|
}
|
|
1939
|
-
.celeste-text-input-wrapper[data-v-
|
|
1939
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]):has(.celeste-text-input-affix[variant=prefix]) {
|
|
1940
1940
|
padding-inline: var(--spacing-0) var(--input-padding);
|
|
1941
1941
|
}
|
|
1942
|
-
.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-
|
|
1942
|
+
.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-105e81d6] {
|
|
1943
1943
|
padding-inline-start: var(--input-padding);
|
|
1944
1944
|
border-inline-start: 1px solid var(--color-stroke-soft-200);
|
|
1945
1945
|
}
|
|
1946
|
-
.celeste-text-input-wrapper[data-v-
|
|
1946
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) .celeste-text-input-icon[position=start] {
|
|
1947
1947
|
margin-inline-end: var(--input-gap);
|
|
1948
1948
|
}
|
|
1949
|
-
.celeste-text-input-wrapper[data-v-
|
|
1949
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input-button, .celeste-text-input-affix[inline=false][askbd=false]) .celeste-text-input-icon[position=end] {
|
|
1950
1950
|
margin-inline-start: var(--input-gap);
|
|
1951
1951
|
}
|
|
1952
|
-
.celeste-text-input-wrapper[data-v-
|
|
1952
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:hover:not(:focus, :disabled)) {
|
|
1953
1953
|
/* stylelint-disable-next-line no-descending-specificity */
|
|
1954
1954
|
}
|
|
1955
|
-
.celeste-text-input-wrapper[data-v-
|
|
1955
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button, .celeste-text-input-affix)) {
|
|
1956
1956
|
border-color: transparent;
|
|
1957
1957
|
background-color: var(--color-bg-weak-50);
|
|
1958
1958
|
}
|
|
1959
|
-
.celeste-text-input-wrapper[data-v-
|
|
1959
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:hover:not(:focus, :disabled)):has(.celeste-text-input-button:not(:hover), .celeste-text-input-affix:not(:hover)) {
|
|
1960
1960
|
background-color: var(--color-bg-weak-50);
|
|
1961
1961
|
}
|
|
1962
|
-
.celeste-text-input-wrapper:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button:hover)) .celeste-text-input[data-v-
|
|
1962
|
+
.celeste-text-input-wrapper:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button:hover)) .celeste-text-input[data-v-105e81d6]::-moz-placeholder {
|
|
1963
1963
|
color: var(--color-text-sub-600);
|
|
1964
1964
|
}
|
|
1965
|
-
.celeste-text-input-wrapper:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button:hover)) .celeste-text-input[data-v-
|
|
1965
|
+
.celeste-text-input-wrapper:has(.celeste-text-input:hover:not(:focus, :disabled)):not(:has(.celeste-text-input-button:hover)) .celeste-text-input[data-v-105e81d6]::placeholder {
|
|
1966
1966
|
color: var(--color-text-sub-600);
|
|
1967
1967
|
}
|
|
1968
|
-
.celeste-text-input-wrapper[data-v-
|
|
1968
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) {
|
|
1969
1969
|
/* stylelint-disable-next-line no-descending-specificity */
|
|
1970
1970
|
}
|
|
1971
|
-
.celeste-text-input-wrapper[data-v-
|
|
1971
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:placeholder-shown:not(:disabled)) {
|
|
1972
1972
|
/* stylelint-disable-next-line no-descending-specificity */
|
|
1973
1973
|
}
|
|
1974
|
-
.celeste-text-input-wrapper[data-v-
|
|
1974
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) .celeste-text-input-icon, .celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:-moz-placeholder:not(:disabled)) .celeste-text-input-affix {
|
|
1975
1975
|
color: var(--color-text-soft-400);
|
|
1976
1976
|
}
|
|
1977
|
-
.celeste-text-input-wrapper[data-v-
|
|
1977
|
+
.celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:placeholder-shown:not(:disabled)) .celeste-text-input-icon, .celeste-text-input-wrapper[data-v-105e81d6]:has(.celeste-text-input:placeholder-shown:not(:disabled)) .celeste-text-input-affix {
|
|
1978
1978
|
color: var(--color-text-soft-400);
|
|
1979
1979
|
}[data-v-2cc18da8] {
|
|
1980
1980
|
box-sizing: border-box;
|
package/dist/cjs/link-button.js
CHANGED
|
@@ -8,7 +8,7 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
8
8
|
__name: "link-button",
|
|
9
9
|
props: {
|
|
10
10
|
class: {},
|
|
11
|
-
size: { default: "
|
|
11
|
+
size: { default: "md" },
|
|
12
12
|
intent: { default: "primary" },
|
|
13
13
|
underline: { type: Boolean },
|
|
14
14
|
disabled: { type: Boolean },
|
|
@@ -40,5 +40,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
|
-
const linkButton = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
43
|
+
const linkButton = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-82b3b1ab"]]);
|
|
44
44
|
module.exports = linkButton;
|
package/dist/cjs/text-input.js
CHANGED
|
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
19
19
|
const props = __props;
|
|
20
20
|
const modelValue = Mo.useModel(__props, "modelValue");
|
|
21
21
|
return (_ctx, _cache) => {
|
|
22
|
-
return Mo.openBlock(), Mo.createElementBlock("
|
|
22
|
+
return Mo.openBlock(), Mo.createElementBlock("label", {
|
|
23
23
|
size: _ctx.size,
|
|
24
24
|
role: "presentation",
|
|
25
25
|
"has-error": _ctx.hasError,
|
|
@@ -38,5 +38,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
const TextInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
41
|
+
const TextInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-105e81d6"]]);
|
|
42
42
|
module.exports = TextInput;
|
|
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
16
16
|
size: "xs" | "sm" | "md";
|
|
17
17
|
type: "text" | "email" | "password" | "search" | "tel" | "url";
|
|
18
18
|
hasError: boolean;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>, {
|
|
20
20
|
default?(_: {}): any;
|
|
21
21
|
}>;
|
|
22
22
|
export default _default;
|
package/dist/es/link-button.js
CHANGED
|
@@ -7,7 +7,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7
7
|
__name: "link-button",
|
|
8
8
|
props: {
|
|
9
9
|
class: {},
|
|
10
|
-
size: { default: "
|
|
10
|
+
size: { default: "md" },
|
|
11
11
|
intent: { default: "primary" },
|
|
12
12
|
underline: { type: Boolean },
|
|
13
13
|
disabled: { type: Boolean },
|
|
@@ -39,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
const linkButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
42
|
+
const linkButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-82b3b1ab"]]);
|
|
43
43
|
export {
|
|
44
44
|
linkButton as default
|
|
45
45
|
};
|
package/dist/es/text-input.js
CHANGED
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
const props = __props;
|
|
19
19
|
const modelValue = useModel(__props, "modelValue");
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createElementBlock("
|
|
21
|
+
return openBlock(), createElementBlock("label", {
|
|
22
22
|
size: _ctx.size,
|
|
23
23
|
role: "presentation",
|
|
24
24
|
"has-error": _ctx.hasError,
|
|
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
40
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-105e81d6"]]);
|
|
41
41
|
export {
|
|
42
42
|
TextInput as default
|
|
43
43
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youcan/celeste",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.15",
|
|
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.
|
|
36
|
-
"@youcan/celeste-tokens": "0.6.
|
|
35
|
+
"@youcan/celeste-icons": "0.6.15",
|
|
36
|
+
"@youcan/celeste-tokens": "0.6.15"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@chromatic-com/storybook": "^4.0.0",
|
|
@@ -20,7 +20,7 @@ export interface TextInputProps extends /* @vue-ignore */ InputHTMLAttributes {
|
|
|
20
20
|
</script>
|
|
21
21
|
|
|
22
22
|
<template>
|
|
23
|
-
<
|
|
23
|
+
<label
|
|
24
24
|
:size="size"
|
|
25
25
|
role="presentation"
|
|
26
26
|
:has-error="hasError"
|
|
@@ -33,7 +33,7 @@ export interface TextInputProps extends /* @vue-ignore */ InputHTMLAttributes {
|
|
|
33
33
|
class="celeste-text-input"
|
|
34
34
|
>
|
|
35
35
|
<slot />
|
|
36
|
-
</
|
|
36
|
+
</label>
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<style scoped lang="scss">
|