toku-ui 2.17.0 → 2.18.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.
@@ -1 +1 @@
1
- {"version":3,"file":"TTag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TTag/TTag.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,yCA8GrB,CAAC"}
1
+ {"version":3,"file":"TTag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TTag/TTag.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,yCA6GrB,CAAC"}
@@ -49,6 +49,12 @@ export declare const TThemeProvider: import("vue").DefineComponent<import("vue")
49
49
  regular: number;
50
50
  };
51
51
  };
52
+ button: {
53
+ borderRadius: string;
54
+ };
55
+ input: {
56
+ borderRadius: string;
57
+ };
52
58
  spacing: string;
53
59
  breakpoints: {
54
60
  mobile: number;
@@ -106,6 +112,12 @@ export declare const TThemeProvider: import("vue").DefineComponent<import("vue")
106
112
  regular: number;
107
113
  };
108
114
  };
115
+ button: {
116
+ borderRadius: string;
117
+ };
118
+ input: {
119
+ borderRadius: string;
120
+ };
109
121
  spacing: string;
110
122
  breakpoints: {
111
123
  mobile: number;
@@ -160,6 +172,12 @@ export declare const TThemeProvider: import("vue").DefineComponent<import("vue")
160
172
  regular: number;
161
173
  };
162
174
  };
175
+ button: {
176
+ borderRadius: string;
177
+ };
178
+ input: {
179
+ borderRadius: string;
180
+ };
163
181
  spacing: string;
164
182
  breakpoints: {
165
183
  mobile: number;
@@ -1 +1 @@
1
- {"version":3,"file":"TThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/components/TThemeProvider/TThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,SAAS,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAczB,CAAC"}
1
+ {"version":3,"file":"TThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/components/TThemeProvider/TThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,SAAS,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAczB,CAAC"}
@@ -43,6 +43,12 @@ export declare const useTheme: () => ComputedRef<{
43
43
  regular: number;
44
44
  };
45
45
  };
46
+ button: {
47
+ borderRadius: string;
48
+ };
49
+ input: {
50
+ borderRadius: string;
51
+ };
46
52
  spacing: string;
47
53
  breakpoints: {
48
54
  mobile: number;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/composables/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAIvC,eAAO,MAAM,YAAY,eAAkB,CAAC;AAE5C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpB,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/composables/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAIvC,eAAO,MAAM,YAAY,eAAkB,CAAC;AAE5C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpB,CAAC"}
package/dist/index.es.js CHANGED
@@ -43,6 +43,12 @@ const Ho = {
43
43
  regular: 400
44
44
  }
45
45
  },
46
+ button: {
47
+ borderRadius: "0.5rem"
48
+ },
49
+ input: {
50
+ borderRadius: "0.375rem"
51
+ },
46
52
  spacing: "4px",
47
53
  breakpoints: {
48
54
  mobile: 0,
@@ -5757,7 +5763,7 @@ const sb = {
5757
5763
  gap: "0.625rem",
5758
5764
  fontWeight: o.value.typography.fontWeight.semibold,
5759
5765
  "&--primary": {
5760
- borderRadius: "0.5rem",
5766
+ borderRadius: o.value.button.borderRadius,
5761
5767
  backgroundColor: u.value,
5762
5768
  boxShadow: "0px 0px 8px 0px rgba(0, 0, 0, 0.1)",
5763
5769
  border: `1px solid ${u.value}`,
@@ -5777,7 +5783,7 @@ const sb = {
5777
5783
  }
5778
5784
  },
5779
5785
  "&--secondary": {
5780
- borderRadius: "0.5rem",
5786
+ borderRadius: o.value.button.borderRadius,
5781
5787
  backgroundColor: "#FFFFFF",
5782
5788
  border: `1px solid ${u.value}`,
5783
5789
  boxShadow: "0px 0px 8px 0px rgba(0, 0, 0, 0.1)",
@@ -6420,7 +6426,7 @@ const bb = {
6420
6426
  width: "100%",
6421
6427
  background: "#FFF",
6422
6428
  border: `1px solid ${r.value.colors.gray.light2}`,
6423
- borderRadius: "6px",
6429
+ borderRadius: r.value.input.borderRadius,
6424
6430
  padding: "6px 8px",
6425
6431
  gap: "8px",
6426
6432
  fontSize: "13px",
@@ -7199,7 +7205,7 @@ const bb = {
7199
7205
  alignItems: "center",
7200
7206
  cursor: "pointer",
7201
7207
  "&--primary": {
7202
- borderRadius: "0.5rem",
7208
+ borderRadius: o.value.button.borderRadius,
7203
7209
  backgroundColor: u.value,
7204
7210
  boxShadow: "0px 0px 8px 0px rgba(0, 0, 0, 0.1)",
7205
7211
  border: `1px solid ${u.value}`,
@@ -7218,7 +7224,7 @@ const bb = {
7218
7224
  }
7219
7225
  },
7220
7226
  "&--secondary": {
7221
- borderRadius: "0.5rem",
7227
+ borderRadius: o.value.button.borderRadius,
7222
7228
  backgroundColor: "#FFFFFF",
7223
7229
  border: `1px solid ${u.value}`,
7224
7230
  boxShadow: "0px 0px 8px 0px rgba(0, 0, 0, 0.1)",
@@ -7703,7 +7709,7 @@ const Xb = () => {
7703
7709
  width: "100%",
7704
7710
  background: "#fff",
7705
7711
  border: `1px solid ${r.value.colors.gray.light2}`,
7706
- borderRadius: "6px",
7712
+ borderRadius: r.value.input.borderRadius,
7707
7713
  padding: "0.25rem 0.5rem",
7708
7714
  gap: "0.5rem",
7709
7715
  height: "32px",
@@ -8184,7 +8190,7 @@ const E_ = /* @__PURE__ */ ae({
8184
8190
  width: "100%",
8185
8191
  background: "#fff",
8186
8192
  border: `1px solid ${r.value.colors.gray.light2}`,
8187
- borderRadius: "6px",
8193
+ borderRadius: r.value.input.borderRadius,
8188
8194
  padding: "0.25rem 0.5rem",
8189
8195
  gap: "0.5rem",
8190
8196
  height: "32px",
@@ -8723,8 +8729,7 @@ const E_ = /* @__PURE__ */ ae({
8723
8729
  () => ce({
8724
8730
  "&, *": {
8725
8731
  margin: 0,
8726
- boxSizing: "border-box",
8727
- cursor: "pointer"
8732
+ boxSizing: "border-box"
8728
8733
  },
8729
8734
  borderRadius: "0.25rem",
8730
8735
  padding: "0.125rem 0.5rem",
@@ -8886,7 +8891,7 @@ const E_ = /* @__PURE__ */ ae({
8886
8891
  resize: "none",
8887
8892
  background: "#FFF",
8888
8893
  border: `1px solid ${r.value.colors.gray.light2}`,
8889
- borderRadius: "6px",
8894
+ borderRadius: r.value.input.borderRadius,
8890
8895
  padding: "6px 8px",
8891
8896
  gap: "8px",
8892
8897
  fontSize: "13px",