@youcan/celeste 0.6.46 → 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-1dfcdddc] {
1906
+ }[data-v-25983c0a] {
1907
1907
  box-sizing: border-box;
1908
1908
  }
1909
- .celeste-checkbox-card[data-v-1dfcdddc] {
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-1dfcdddc]: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-1dfcdddc]: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-1dfcdddc]:hover:not(.celeste-checkbox-card-disabled), .celeste-checkbox-card[data-v-1dfcdddc]: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-1dfcdddc]:hover:not(.celeste-checkbox-card-disabled):not(:has([data-state=checked])), .celeste-checkbox-card[data-v-1dfcdddc]: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-1dfcdddc] {
1936
+ .celeste-checkbox-card-preview[data-v-25983c0a] {
1937
1937
  display: flex;
1938
1938
  position: relative;
1939
1939
  flex-shrink: 0;
@@ -1947,12 +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-icon i[data-v-1dfcdddc] {
1950
+ .celeste-checkbox-card-preview-icon i[data-v-25983c0a] {
1951
1951
  width: 20px;
1952
1952
  height: 20px;
1953
1953
  color: var(--color-icon-sub-600);
1954
1954
  }
1955
- .celeste-checkbox-card-preview-image i[data-v-1dfcdddc] {
1955
+ .celeste-checkbox-card-preview-image[data-v-25983c0a] {
1956
+ border: none;
1957
+ }
1958
+ .celeste-checkbox-card-preview-image i[data-v-25983c0a] {
1956
1959
  position: absolute;
1957
1960
  z-index: 0;
1958
1961
  top: 50%;
@@ -1962,27 +1965,21 @@ to {
1962
1965
  transform: translate(-50%, -50%);
1963
1966
  color: var(--color-icon-sub-600);
1964
1967
  }
1965
- .celeste-checkbox-card-preview-image[data-v-1dfcdddc] img {
1968
+ .celeste-checkbox-card-preview-image[data-v-25983c0a] img {
1966
1969
  z-index: 1000;
1967
1970
  }
1968
- .celeste-checkbox-card-preview-image[data-v-1dfcdddc] :has(img) {
1969
- border: none;
1970
- }
1971
- .celeste-checkbox-card-preview-image :has(img) i[data-v-1dfcdddc] {
1972
- display: none;
1973
- }
1974
- .celeste-checkbox-card-content[data-v-1dfcdddc] {
1971
+ .celeste-checkbox-card-content[data-v-25983c0a] {
1975
1972
  display: flex;
1976
1973
  flex-direction: column;
1977
1974
  gap: var(--spacing-4);
1978
1975
  }
1979
- .celeste-checkbox-card-row[data-v-1dfcdddc] {
1976
+ .celeste-checkbox-card-row[data-v-25983c0a] {
1980
1977
  display: flex;
1981
1978
  flex-shrink: 1;
1982
1979
  align-items: center;
1983
1980
  gap: var(--spacing-8);
1984
1981
  }
1985
- .celeste-checkbox-card-label[data-v-1dfcdddc] {
1982
+ .celeste-checkbox-card-label[data-v-25983c0a] {
1986
1983
  flex-shrink: 1;
1987
1984
  min-width: 0;
1988
1985
  overflow: hidden;
@@ -1991,7 +1988,7 @@ to {
1991
1988
  text-overflow: ellipsis;
1992
1989
  white-space: nowrap;
1993
1990
  }
1994
- .celeste-checkbox-card-sublabel[data-v-1dfcdddc] {
1991
+ .celeste-checkbox-card-sublabel[data-v-25983c0a] {
1995
1992
  flex-shrink: 1;
1996
1993
  min-width: 0;
1997
1994
  overflow: hidden;
@@ -2000,20 +1997,20 @@ to {
2000
1997
  text-overflow: ellipsis;
2001
1998
  white-space: nowrap;
2002
1999
  }
2003
- .celeste-checkbox-card-description[data-v-1dfcdddc] {
2000
+ .celeste-checkbox-card-description[data-v-25983c0a] {
2004
2001
  color: var(--color-text-sub-600);
2005
2002
  font: var(--paragraph-xs);
2006
2003
  }
2007
- .celeste-checkbox-card-disabled[data-v-1dfcdddc] {
2004
+ .celeste-checkbox-card-disabled[data-v-25983c0a] {
2008
2005
  cursor: not-allowed;
2009
2006
  }
2010
- .celeste-checkbox-card-disabled .celeste-checkbox-card-label[data-v-1dfcdddc] {
2007
+ .celeste-checkbox-card-disabled .celeste-checkbox-card-label[data-v-25983c0a] {
2011
2008
  color: var(--color-text-sub-600);
2012
2009
  }
2013
- .celeste-checkbox-card-disabled .celeste-checkbox-card-sublabel[data-v-1dfcdddc] {
2010
+ .celeste-checkbox-card-disabled .celeste-checkbox-card-sublabel[data-v-25983c0a] {
2014
2011
  color: var(--color-text-soft-400);
2015
2012
  }
2016
- .celeste-checkbox-card-disabled .celeste-checkbox-card-description[data-v-1dfcdddc] {
2013
+ .celeste-checkbox-card-disabled .celeste-checkbox-card-description[data-v-25983c0a] {
2017
2014
  color: var(--color-text-soft-400);
2018
2015
  }.celeste-checkbox-label[data-v-ad0a5759] {
2019
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-1dfcdddc"]]);
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-1dfcdddc"]]);
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.46",
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.46",
48
- "@youcan/celeste-tokens": "0.6.46"
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",
@@ -148,6 +148,8 @@ const delegatedProps = useDelegatedProps(props, 'class');
148
148
  }
149
149
 
150
150
  .celeste-checkbox-card-preview-image {
151
+ border: none;
152
+
151
153
  i {
152
154
  position: absolute;
153
155
  z-index: 0;
@@ -162,14 +164,6 @@ const delegatedProps = useDelegatedProps(props, 'class');
162
164
  :deep(img) {
163
165
  z-index: 1000;
164
166
  }
165
-
166
- :has(img) {
167
- border: none;
168
-
169
- i {
170
- display: none;
171
- }
172
- }
173
167
  }
174
168
 
175
169
  .celeste-checkbox-card-content {