@youcan/celeste 0.6.45 → 0.6.47

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
@@ -1903,10 +1903,10 @@ to {
1903
1903
  .celeste-cbutton-white[data-v-c062bacd] {
1904
1904
  background-color: var(--color-bg-white-0);
1905
1905
  box-shadow: var(--shadow-regular-xs);
1906
- }[data-v-7b08df2f] {
1906
+ }[data-v-25983c0a] {
1907
1907
  box-sizing: border-box;
1908
1908
  }
1909
- .celeste-checkbox-card[data-v-7b08df2f] {
1909
+ .celeste-checkbox-card[data-v-25983c0a] {
1910
1910
  display: flex;
1911
1911
  align-items: flex-start;
1912
1912
  padding: var(--spacing-16);
@@ -1919,21 +1919,21 @@ to {
1919
1919
  font: var(--paragraph-sm);
1920
1920
  gap: var(--spacing-14);
1921
1921
  }
1922
- .celeste-checkbox-card[data-v-7b08df2f]:not(.celeste-checkbox-card-disabled) {
1922
+ .celeste-checkbox-card[data-v-25983c0a]:not(.celeste-checkbox-card-disabled) {
1923
1923
  cursor: pointer;
1924
1924
  }
1925
- .celeste-checkbox-card[data-v-7b08df2f]:has([data-state=checked]):not(.celeste-checkbox-card-disabled) {
1925
+ .celeste-checkbox-card[data-v-25983c0a]:has([data-state=checked]):not(.celeste-checkbox-card-disabled) {
1926
1926
  border-color: var(--color-primary-base);
1927
1927
  box-shadow: none;
1928
1928
  }
1929
- .celeste-checkbox-card[data-v-7b08df2f]:hover:not(.celeste-checkbox-card-disabled), .celeste-checkbox-card[data-v-7b08df2f]:focus-visible:not(.celeste-checkbox-card-disabled) {
1929
+ .celeste-checkbox-card[data-v-25983c0a]:hover:not(.celeste-checkbox-card-disabled), .celeste-checkbox-card[data-v-25983c0a]:focus-visible:not(.celeste-checkbox-card-disabled) {
1930
1930
  background-color: var(--color-bg-weak-50);
1931
1931
  box-shadow: none;
1932
1932
  }
1933
- .celeste-checkbox-card[data-v-7b08df2f]:hover:not(.celeste-checkbox-card-disabled):not(:has([data-state=checked])), .celeste-checkbox-card[data-v-7b08df2f]:focus-visible:not(.celeste-checkbox-card-disabled):not(:has([data-state=checked])) {
1933
+ .celeste-checkbox-card[data-v-25983c0a]:hover:not(.celeste-checkbox-card-disabled):not(:has([data-state=checked])), .celeste-checkbox-card[data-v-25983c0a]:focus-visible:not(.celeste-checkbox-card-disabled):not(:has([data-state=checked])) {
1934
1934
  border-color: transparent;
1935
1935
  }
1936
- .celeste-checkbox-card-preview[data-v-7b08df2f] {
1936
+ .celeste-checkbox-card-preview[data-v-25983c0a] {
1937
1937
  display: flex;
1938
1938
  position: relative;
1939
1939
  flex-shrink: 0;
@@ -1947,10 +1947,15 @@ to {
1947
1947
  background-color: var(--color-bg-white-0);
1948
1948
  box-shadow: var(--shadow-regular-xs);
1949
1949
  }
1950
- .celeste-checkbox-card-preview-image[data-v-7b08df2f] {
1950
+ .celeste-checkbox-card-preview-icon i[data-v-25983c0a] {
1951
+ width: 20px;
1952
+ height: 20px;
1953
+ color: var(--color-icon-sub-600);
1954
+ }
1955
+ .celeste-checkbox-card-preview-image[data-v-25983c0a] {
1951
1956
  border: none;
1952
1957
  }
1953
- .celeste-checkbox-card-preview-image i[data-v-7b08df2f] {
1958
+ .celeste-checkbox-card-preview-image i[data-v-25983c0a] {
1954
1959
  position: absolute;
1955
1960
  z-index: 0;
1956
1961
  top: 50%;
@@ -1960,26 +1965,21 @@ to {
1960
1965
  transform: translate(-50%, -50%);
1961
1966
  color: var(--color-icon-sub-600);
1962
1967
  }
1963
- .celeste-checkbox-card-preview-image[data-v-7b08df2f] img {
1968
+ .celeste-checkbox-card-preview-image[data-v-25983c0a] img {
1964
1969
  z-index: 1000;
1965
1970
  }
1966
- .celeste-checkbox-card-preview-icon i[data-v-7b08df2f] {
1967
- width: 20px;
1968
- height: 20px;
1969
- color: var(--color-icon-sub-600);
1970
- }
1971
- .celeste-checkbox-card-content[data-v-7b08df2f] {
1971
+ .celeste-checkbox-card-content[data-v-25983c0a] {
1972
1972
  display: flex;
1973
1973
  flex-direction: column;
1974
1974
  gap: var(--spacing-4);
1975
1975
  }
1976
- .celeste-checkbox-card-row[data-v-7b08df2f] {
1976
+ .celeste-checkbox-card-row[data-v-25983c0a] {
1977
1977
  display: flex;
1978
1978
  flex-shrink: 1;
1979
1979
  align-items: center;
1980
1980
  gap: var(--spacing-8);
1981
1981
  }
1982
- .celeste-checkbox-card-label[data-v-7b08df2f] {
1982
+ .celeste-checkbox-card-label[data-v-25983c0a] {
1983
1983
  flex-shrink: 1;
1984
1984
  min-width: 0;
1985
1985
  overflow: hidden;
@@ -1988,7 +1988,7 @@ to {
1988
1988
  text-overflow: ellipsis;
1989
1989
  white-space: nowrap;
1990
1990
  }
1991
- .celeste-checkbox-card-sublabel[data-v-7b08df2f] {
1991
+ .celeste-checkbox-card-sublabel[data-v-25983c0a] {
1992
1992
  flex-shrink: 1;
1993
1993
  min-width: 0;
1994
1994
  overflow: hidden;
@@ -1997,20 +1997,20 @@ to {
1997
1997
  text-overflow: ellipsis;
1998
1998
  white-space: nowrap;
1999
1999
  }
2000
- .celeste-checkbox-card-description[data-v-7b08df2f] {
2000
+ .celeste-checkbox-card-description[data-v-25983c0a] {
2001
2001
  color: var(--color-text-sub-600);
2002
2002
  font: var(--paragraph-xs);
2003
2003
  }
2004
- .celeste-checkbox-card-disabled[data-v-7b08df2f] {
2004
+ .celeste-checkbox-card-disabled[data-v-25983c0a] {
2005
2005
  cursor: not-allowed;
2006
2006
  }
2007
- .celeste-checkbox-card-disabled .celeste-checkbox-card-label[data-v-7b08df2f] {
2007
+ .celeste-checkbox-card-disabled .celeste-checkbox-card-label[data-v-25983c0a] {
2008
2008
  color: var(--color-text-sub-600);
2009
2009
  }
2010
- .celeste-checkbox-card-disabled .celeste-checkbox-card-sublabel[data-v-7b08df2f] {
2010
+ .celeste-checkbox-card-disabled .celeste-checkbox-card-sublabel[data-v-25983c0a] {
2011
2011
  color: var(--color-text-soft-400);
2012
2012
  }
2013
- .celeste-checkbox-card-disabled .celeste-checkbox-card-description[data-v-7b08df2f] {
2013
+ .celeste-checkbox-card-disabled .celeste-checkbox-card-description[data-v-25983c0a] {
2014
2014
  color: var(--color-text-soft-400);
2015
2015
  }.celeste-checkbox-label[data-v-ad0a5759] {
2016
2016
  display: flex;
@@ -106,5 +106,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
106
106
  };
107
107
  }
108
108
  });
109
- const checkboxCard = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-7b08df2f"]]);
109
+ const checkboxCard = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-25983c0a"]]);
110
110
  module.exports = checkboxCard;
@@ -105,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
105
105
  };
106
106
  }
107
107
  });
108
- const checkboxCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7b08df2f"]]);
108
+ const checkboxCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-25983c0a"]]);
109
109
  export {
110
110
  checkboxCard as default
111
111
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@youcan/celeste",
3
3
  "type": "module",
4
- "version": "0.6.45",
4
+ "version": "0.6.47",
5
5
  "author": "YouCan <tech@youcan.shop>",
6
6
  "keywords": [
7
7
  "youcan",
@@ -44,8 +44,8 @@
44
44
  "radix-vue": "^1.9.12",
45
45
  "tinycolor2": "^1.6.0",
46
46
  "vue-sonner": "^2.0.2",
47
- "@youcan/celeste-icons": "0.6.45",
48
- "@youcan/celeste-tokens": "0.6.45"
47
+ "@youcan/celeste-tokens": "0.6.47",
48
+ "@youcan/celeste-icons": "0.6.47"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@chromatic-com/storybook": "^4.0.0",
@@ -139,6 +139,14 @@ const delegatedProps = useDelegatedProps(props, 'class');
139
139
  box-shadow: var(--shadow-regular-xs);
140
140
  }
141
141
 
142
+ .celeste-checkbox-card-preview-icon {
143
+ i {
144
+ width: 20px;
145
+ height: 20px;
146
+ color: var(--color-icon-sub-600);
147
+ }
148
+ }
149
+
142
150
  .celeste-checkbox-card-preview-image {
143
151
  border: none;
144
152
 
@@ -158,14 +166,6 @@ const delegatedProps = useDelegatedProps(props, 'class');
158
166
  }
159
167
  }
160
168
 
161
- .celeste-checkbox-card-preview-icon {
162
- i {
163
- width: 20px;
164
- height: 20px;
165
- color: var(--color-icon-sub-600);
166
- }
167
- }
168
-
169
169
  .celeste-checkbox-card-content {
170
170
  display: flex;
171
171
  flex-direction: column;