@sakura-ui/sakura-ui 0.5.0 → 0.5.1

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,5 +1,5 @@
1
1
  export declare namespace Style {
2
- const clickable = "\n px-2\n min-h-[calc(44/16*1rem)]\n border\n border-transparent\n rounded-lg\n hover:bg-solid-grey-50\n ";
2
+ const clickable = "\n px-2\n min-h-[calc(44/16*1rem)]\n border\n border-transparent\n rounded-lg\n hover:bg-solid-gray-50\n ";
3
3
  const selected = "\n rounded-full\n bg-yellow-50\n ";
4
4
  const focusRectCondensed = "\n \n focus-visible:outline-4\n focus-visible:outline-black\n focus-visible:ring-yellow-300\n \n focus-visible:-outline-offset-4\n focus-visible:ring-[calc(6/16*1rem)]\n focus-visible:ring-inset\n ";
5
5
  const focusRectCondensedWithBg = "\n \n \n focus-visible:outline-4\n focus-visible:outline-black\n focus-visible:ring-yellow-300\n \n focus-visible:-outline-offset-4\n focus-visible:ring-[calc(6/16*1rem)]\n focus-visible:ring-inset\n \n focus-visible:bg-yellow-300\n ";
@@ -11,9 +11,7 @@ export declare namespace Style {
11
11
  const hoverUnderline = "\n hover:underline\n hover:underline-offset-[calc(3/16*1rem)]\n ";
12
12
  const underline = "\n underline\n underline-offset-[calc(3/16*1rem)]\n hover:decoration-[calc(3/16*1rem)]\n ";
13
13
  const underlineNoDeco = "\n underline\n underline-offset-[calc(3/16*1rem)]\n ";
14
- const popover = "\n min-w-fit\n w-auto\n py-2\n bg-white\n shadow-1\n rounded-lg\n border\n border-solid-grey-420\n has-[>:nth-child(7)]:rounded-r-none\n ";
15
- const popoverPositionBottomRight = "\n absolute\n top-11\n right-0\n ";
16
- const popoverPositionBottomLeft = "\n absolute\n top-11\n left-0\n ";
14
+ const popover = "\n min-w-fit\n w-auto\n py-2\n bg-white\n shadow-1\n rounded-lg\n border\n border-solid-gray-420\n has-[>:nth-child(7)]:rounded-r-none\n ";
17
15
  namespace Peer {
18
16
  const focus = "\n peer-focus-visible:outline-4\n peer-focus-visible:outline-black\n peer-focus-visible:ring-yellow-300\n ";
19
17
  const focusRect = "\n \n peer-focus-visible:outline-4\n peer-focus-visible:outline-black\n peer-focus-visible:ring-yellow-300\n \n peer-focus-visible:outline-offset-[calc(2/16*1rem)]\n peer-focus-visible:ring-[calc(2/16*1rem)]\n ";
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/styles.ts"],"names":[],"mappings":"AAAA,yBAAiB,KAAK,CAAC;IACd,MAAM,SAAS,iIAOrB,CAAA;IAEM,MAAM,QAAQ,6CAGpB,CAAA;IAQM,MAAM,kBAAkB,iOAK9B,CAAA;IAEM,MAAM,wBAAwB,4QAGpC,CAAA;IAEM,MAAM,SAAS,kNAIrB,CAAA;IAEM,MAAM,YAAY,0PAGxB,CAAA;IAEM,MAAM,SAAS,6RAIrB,CAAA;IAEM,MAAM,eAAe,6PAG3B,CAAA;IAEM,MAAM,kBAAkB,qSAG9B,CAAA;IAEM,MAAM,cAAc,4EAG1B,CAAA;IAEM,MAAM,SAAS,wGAIrB,CAAA;IAEM,MAAM,eAAe,gEAG3B,CAAA;IAEM,MAAM,OAAO,0KAUnB,CAAA;IAEM,MAAM,0BAA0B,gDAItC,CAAA;IAEM,MAAM,yBAAyB,+CAIrC,CAAA;IAED,UAAiB,IAAI,CAAC;QACb,MAAM,KAAK,iIAIjB,CAAA;QAEM,MAAM,SAAS,2PAIrB,CAAA;KACF;CACF"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/styles.ts"],"names":[],"mappings":"AAAA,yBAAiB,KAAK,CAAC;IACd,MAAM,SAAS,iIAOrB,CAAA;IAEM,MAAM,QAAQ,6CAGpB,CAAA;IAQM,MAAM,kBAAkB,iOAK9B,CAAA;IAEM,MAAM,wBAAwB,4QAGpC,CAAA;IAEM,MAAM,SAAS,kNAIrB,CAAA;IAEM,MAAM,YAAY,0PAGxB,CAAA;IAEM,MAAM,SAAS,6RAIrB,CAAA;IAEM,MAAM,eAAe,6PAG3B,CAAA;IAEM,MAAM,kBAAkB,qSAG9B,CAAA;IAEM,MAAM,cAAc,4EAG1B,CAAA;IAEM,MAAM,SAAS,wGAIrB,CAAA;IAEM,MAAM,eAAe,gEAG3B,CAAA;IAEM,MAAM,OAAO,0KAUnB,CAAA;IAED,UAAiB,IAAI,CAAC;QACb,MAAM,KAAK,iIAIjB,CAAA;QAEM,MAAM,SAAS,2PAIrB,CAAA;KACF;CACF"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sakura-ui/helper",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "author": "glassonion1",
5
5
  "homepage": "https://github.com/glassonion1/sakura-ui",
6
6
  "repository": {
@@ -5,7 +5,7 @@ export namespace Style {
5
5
  border
6
6
  border-transparent
7
7
  rounded-lg
8
- hover:bg-solid-grey-50
8
+ hover:bg-solid-gray-50
9
9
  `
10
10
 
11
11
  export const selected = `
@@ -82,22 +82,10 @@ export namespace Style {
82
82
  shadow-1
83
83
  rounded-lg
84
84
  border
85
- border-solid-grey-420
85
+ border-solid-gray-420
86
86
  has-[>:nth-child(7)]:rounded-r-none
87
87
  `
88
88
 
89
- export const popoverPositionBottomRight = `
90
- absolute
91
- top-11
92
- right-0
93
- `
94
-
95
- export const popoverPositionBottomLeft = `
96
- absolute
97
- top-11
98
- left-0
99
- `
100
-
101
89
  export namespace Peer {
102
90
  export const focus = `
103
91
  peer-focus-visible:outline-4
@@ -7,6 +7,6 @@ transforming...
7
7
  ✓ 365 modules transformed.
8
8
  rendering chunks...
9
9
  computing gzip size...
10
- dist/index.es.js 554.82 kB │ gzip: 141.39 kB
11
- dist/index.cjs.js 378.23 kB │ gzip: 117.29 kB
12
- ✓ built in 2.18s
10
+ dist/index.es.js 554.68 kB │ gzip: 141.35 kB
11
+ dist/index.cjs.js 378.09 kB │ gzip: 117.25 kB
12
+ ✓ built in 3.37s
@@ -61,7 +61,7 @@ React keys must be passed directly to JSX without using spread:
61
61
  border
62
62
  border-transparent
63
63
  rounded-lg
64
- hover:bg-solid-grey-50
64
+ hover:bg-solid-gray-50
65
65
  `,e.selected=`
66
66
  rounded-full
67
67
  bg-yellow-50
@@ -112,16 +112,8 @@ React keys must be passed directly to JSX without using spread:
112
112
  shadow-1
113
113
  rounded-lg
114
114
  border
115
- border-solid-grey-420
115
+ border-solid-gray-420
116
116
  has-[>:nth-child(7)]:rounded-r-none
117
- `,e.popoverPositionBottomRight=`
118
- absolute
119
- top-11
120
- right-0
121
- `,e.popoverPositionBottomLeft=`
122
- absolute
123
- top-11
124
- left-0
125
117
  `,(n=>{n.focus=`
126
118
  peer-focus-visible:outline-4
127
119
  peer-focus-visible:outline-black