cetec-design-system 2.3.7 → 3.0.1-next.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/README.md CHANGED
@@ -129,8 +129,19 @@ npm install cetec-design-system
129
129
 
130
130
  ### Panda CSS Configuration
131
131
 
132
- Copy `/panda.config.ts` and adjust the import paths to point to the package in `node_modules`.
133
- Set up the `include` option to contain the paths where Panda should look when building `styled-system` and `styles.css`.
132
+ Import the Panda preset from its build-time-only entrypoint:
133
+
134
+ ```typescript
135
+ import { defineConfig } from '@pandacss/dev';
136
+ import { cetecPreset } from 'cetec-design-system/preset';
137
+
138
+ export default defineConfig({
139
+ presets: [cetecPreset],
140
+ });
141
+ ```
142
+
143
+ Set up the `include` option to contain the paths where Panda should look when
144
+ building `styled-system` and `styles.css`.
134
145
 
135
146
  ### Using in Your Project
136
147
 
@@ -0,0 +1,47 @@
1
+ const breakpoints = {
2
+ xs: "30rem",
3
+ // 480px
4
+ sm: "40rem",
5
+ // 640px
6
+ md: "48rem",
7
+ // 768px
8
+ lg: "64rem",
9
+ // 1024px
10
+ xl: "80rem",
11
+ // 1280px
12
+ "2xl": "96rem"
13
+ // 1536px
14
+ };
15
+ const containerSizes = {
16
+ "2xs": "16rem",
17
+ // 256px
18
+ xs: "20rem",
19
+ // 320px
20
+ sm: "24rem",
21
+ // 384px
22
+ md: "28rem",
23
+ // 448px
24
+ lg: "32rem",
25
+ // 512px
26
+ xl: "36rem",
27
+ // 576px
28
+ "2xl": "42rem",
29
+ // 672px
30
+ "3xl": "48rem",
31
+ // 768px
32
+ "4xl": "56rem",
33
+ // 896px
34
+ "5xl": "64rem",
35
+ // 1024px
36
+ "6xl": "72rem",
37
+ // 1152px
38
+ "7xl": "80rem",
39
+ // 1280px
40
+ "8xl": "90rem"
41
+ // 1440px
42
+ };
43
+ export {
44
+ breakpoints as b,
45
+ containerSizes as c
46
+ };
47
+ //# sourceMappingURL=containerSizes-nJuD-1Ap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerSizes-nJuD-1Ap.js","sources":["../src/styles/utilities/breakpoints.ts","../src/styles/utilities/containerSizes.ts"],"sourcesContent":["export const breakpoints = {\n xs: '30rem', // 480px\n sm: '40rem', // 640px\n md: '48rem', // 768px\n lg: '64rem', // 1024px\n xl: '80rem', // 1280px\n '2xl': '96rem', // 1536px\n};\n","// Raw values for Panda containerSizes config (no value wrappers)\n// Panda's setupContainers() expects raw strings it can call .match() on\nexport const containerSizes = {\n '2xs': '16rem', // 256px\n xs: '20rem', // 320px\n sm: '24rem', // 384px\n md: '28rem', // 448px\n lg: '32rem', // 512px\n xl: '36rem', // 576px\n '2xl': '42rem', // 672px\n '3xl': '48rem', // 768px\n '4xl': '56rem', // 896px\n '5xl': '64rem', // 1024px\n '6xl': '72rem', // 1152px\n '7xl': '80rem', // 1280px\n '8xl': '90rem', // 1440px\n};\n"],"names":[],"mappings":"AAAO,MAAM,cAAc;AAAA,EACzB,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,OAAO;AAAA;AACT;ACLO,MAAM,iBAAiB;AAAA,EAC5B,OAAO;AAAA;AAAA,EACP,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,IAAI;AAAA;AAAA,EACJ,OAAO;AAAA;AAAA,EACP,OAAO;AAAA;AAAA,EACP,OAAO;AAAA;AAAA,EACP,OAAO;AAAA;AAAA,EACP,OAAO;AAAA;AAAA,EACP,OAAO;AAAA;AAAA,EACP,OAAO;AAAA;AACT;"}