@cck-ui/core 0.6.1 → 0.8.0
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/cjs/components/aspect-ratio/aspect-ratio.cjs +389 -0
- package/cjs/components/aspect-ratio/aspect-ratio.cjs.map +1 -0
- package/cjs/components/aspect-ratio/aspect-ratio.module.cjs +7 -0
- package/cjs/components/aspect-ratio/aspect-ratio.module.cjs.map +1 -0
- package/cjs/components/aspect-ratio/aspect-ratio.utils.cjs +7 -0
- package/cjs/components/aspect-ratio/aspect-ratio.utils.cjs.map +1 -0
- package/cjs/components/aspect-ratio/index.cjs +14 -0
- package/cjs/components/aspect-ratio/index.cjs.map +1 -0
- package/cjs/components/center/center.cjs +390 -0
- package/cjs/components/center/center.cjs.map +1 -0
- package/cjs/components/center/center.module.cjs +7 -0
- package/cjs/components/center/center.module.cjs.map +1 -0
- package/cjs/components/center/index.cjs +13 -0
- package/cjs/components/center/index.cjs.map +1 -0
- package/cjs/components/grid/grid.cjs +1 -1
- package/cjs/components/grid/grid.cjs.map +1 -1
- package/cjs/components/simple-grid/simple-grid.cjs +1 -1
- package/cjs/components/simple-grid/simple-grid.cjs.map +1 -1
- package/cjs/index.cjs +38 -34
- package/cjs/index.cjs.map +1 -1
- package/esm/components/aspect-ratio/aspect-ratio.mjs +389 -0
- package/esm/components/aspect-ratio/aspect-ratio.mjs.map +1 -0
- package/esm/components/aspect-ratio/aspect-ratio.module.mjs +7 -0
- package/esm/components/aspect-ratio/aspect-ratio.module.mjs.map +1 -0
- package/esm/components/aspect-ratio/aspect-ratio.utils.mjs +8 -0
- package/esm/components/aspect-ratio/aspect-ratio.utils.mjs.map +1 -0
- package/esm/components/aspect-ratio/index.mjs +11 -0
- package/esm/components/aspect-ratio/index.mjs.map +1 -0
- package/esm/components/center/center.mjs +390 -0
- package/esm/components/center/center.mjs.map +1 -0
- package/esm/components/center/center.module.mjs +7 -0
- package/esm/components/center/center.module.mjs.map +1 -0
- package/esm/components/center/index.mjs +10 -0
- package/esm/components/center/index.mjs.map +1 -0
- package/esm/components/grid/grid.mjs +1 -1
- package/esm/components/grid/grid.mjs.map +1 -1
- package/esm/components/simple-grid/simple-grid.mjs +1 -1
- package/esm/components/simple-grid/simple-grid.mjs.map +1 -1
- package/esm/index.mjs +3 -1
- package/esm/index.mjs.map +1 -1
- package/lib/components/aspect-ratio/aspect-ratio.types.d.ts +18 -0
- package/lib/components/aspect-ratio/aspect-ratio.utils.d.ts +6 -0
- package/lib/components/aspect-ratio/index.d.ts +6 -0
- package/lib/components/center/center.types.d.ts +14 -0
- package/lib/components/center/index.d.ts +6 -0
- package/lib/components/index.d.ts +2 -0
- package/package.json +1 -1
- package/styles/aspect-ratio.css +13 -0
- package/styles/aspect-ratio.layer.css +14 -0
- package/styles/center.css +9 -0
- package/styles/center.layer.css +10 -0
- package/styles.css +24 -0
- package/styles.layer.css +24 -0
package/styles.css
CHANGED
|
@@ -882,6 +882,30 @@ fieldset:disabled .c-active:active {
|
|
|
882
882
|
justify-content: center;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
+
.m_31f351f9 {
|
|
886
|
+
--ar-ratio: 1;
|
|
887
|
+
max-width: 100%;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.m_31f351f9 > :where(*:not(style)) {
|
|
891
|
+
aspect-ratio: var(--ar-ratio);
|
|
892
|
+
width: 100%;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.m_31f351f9 > :where(img, video) {
|
|
896
|
+
object-fit: cover;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.m_e0e8435a {
|
|
900
|
+
display: flex;
|
|
901
|
+
align-items: center;
|
|
902
|
+
justify-content: center;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.m_e0e8435a:where([data-inline]) {
|
|
906
|
+
display: inline-flex;
|
|
907
|
+
}
|
|
908
|
+
|
|
885
909
|
.m_c031daba {
|
|
886
910
|
container: c-grid / inline-size;
|
|
887
911
|
}
|
package/styles.layer.css
CHANGED
|
@@ -882,6 +882,30 @@ fieldset:disabled .c-active:active {
|
|
|
882
882
|
justify-content: center;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
+
.m_31f351f9 {
|
|
886
|
+
--ar-ratio: 1;
|
|
887
|
+
max-width: 100%;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.m_31f351f9 > :where(*:not(style)) {
|
|
891
|
+
aspect-ratio: var(--ar-ratio);
|
|
892
|
+
width: 100%;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.m_31f351f9 > :where(img, video) {
|
|
896
|
+
object-fit: cover;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.m_e0e8435a {
|
|
900
|
+
display: flex;
|
|
901
|
+
align-items: center;
|
|
902
|
+
justify-content: center;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.m_e0e8435a:where([data-inline]) {
|
|
906
|
+
display: inline-flex;
|
|
907
|
+
}
|
|
908
|
+
|
|
885
909
|
.m_c031daba {
|
|
886
910
|
container: c-grid / inline-size;
|
|
887
911
|
}
|