warqadui 0.0.6 → 0.0.10

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.
Files changed (173) hide show
  1. package/package.json +62 -10
  2. package/.vscode/settings.json +0 -3
  3. package/apps/dev-app/.env +0 -1
  4. package/apps/dev-app/errors.log +0 -0
  5. package/apps/dev-app/index.html +0 -12
  6. package/apps/dev-app/node_modules/.vite/deps/@tanstack_react-table.js +0 -3254
  7. package/apps/dev-app/node_modules/.vite/deps/@tanstack_react-table.js.map +0 -7
  8. package/apps/dev-app/node_modules/.vite/deps/_metadata.json +0 -178
  9. package/apps/dev-app/node_modules/.vite/deps/antd.js +0 -108982
  10. package/apps/dev-app/node_modules/.vite/deps/antd.js.map +0 -7
  11. package/apps/dev-app/node_modules/.vite/deps/axios.js +0 -2751
  12. package/apps/dev-app/node_modules/.vite/deps/axios.js.map +0 -7
  13. package/apps/dev-app/node_modules/.vite/deps/chunk-5OG7DCD7.js +0 -41
  14. package/apps/dev-app/node_modules/.vite/deps/chunk-5OG7DCD7.js.map +0 -7
  15. package/apps/dev-app/node_modules/.vite/deps/chunk-7YRZYZRE.js +0 -7807
  16. package/apps/dev-app/node_modules/.vite/deps/chunk-7YRZYZRE.js.map +0 -7
  17. package/apps/dev-app/node_modules/.vite/deps/chunk-DC5AMYBS.js +0 -39
  18. package/apps/dev-app/node_modules/.vite/deps/chunk-DC5AMYBS.js.map +0 -7
  19. package/apps/dev-app/node_modules/.vite/deps/chunk-DKXRQMOD.js +0 -135
  20. package/apps/dev-app/node_modules/.vite/deps/chunk-DKXRQMOD.js.map +0 -7
  21. package/apps/dev-app/node_modules/.vite/deps/chunk-EL47BWQR.js +0 -37
  22. package/apps/dev-app/node_modules/.vite/deps/chunk-EL47BWQR.js.map +0 -7
  23. package/apps/dev-app/node_modules/.vite/deps/chunk-HHL3MHGV.js +0 -288
  24. package/apps/dev-app/node_modules/.vite/deps/chunk-HHL3MHGV.js.map +0 -7
  25. package/apps/dev-app/node_modules/.vite/deps/chunk-IGGUWUPT.js +0 -60
  26. package/apps/dev-app/node_modules/.vite/deps/chunk-IGGUWUPT.js.map +0 -7
  27. package/apps/dev-app/node_modules/.vite/deps/chunk-IGXZPJXT.js +0 -928
  28. package/apps/dev-app/node_modules/.vite/deps/chunk-IGXZPJXT.js.map +0 -7
  29. package/apps/dev-app/node_modules/.vite/deps/chunk-L2GCM37S.js +0 -21628
  30. package/apps/dev-app/node_modules/.vite/deps/chunk-L2GCM37S.js.map +0 -7
  31. package/apps/dev-app/node_modules/.vite/deps/chunk-LDRT62EN.js +0 -14806
  32. package/apps/dev-app/node_modules/.vite/deps/chunk-LDRT62EN.js.map +0 -7
  33. package/apps/dev-app/node_modules/.vite/deps/chunk-M7DZDBHW.js +0 -14
  34. package/apps/dev-app/node_modules/.vite/deps/chunk-M7DZDBHW.js.map +0 -7
  35. package/apps/dev-app/node_modules/.vite/deps/chunk-S54SBVCU.js +0 -1906
  36. package/apps/dev-app/node_modules/.vite/deps/chunk-S54SBVCU.js.map +0 -7
  37. package/apps/dev-app/node_modules/.vite/deps/chunk-WFNHCR67.js +0 -21
  38. package/apps/dev-app/node_modules/.vite/deps/chunk-WFNHCR67.js.map +0 -7
  39. package/apps/dev-app/node_modules/.vite/deps/clsx.js +0 -10
  40. package/apps/dev-app/node_modules/.vite/deps/clsx.js.map +0 -7
  41. package/apps/dev-app/node_modules/.vite/deps/dayjs.js +0 -6
  42. package/apps/dev-app/node_modules/.vite/deps/dayjs.js.map +0 -7
  43. package/apps/dev-app/node_modules/.vite/deps/dayjs_plugin_customParseFormat.js +0 -6
  44. package/apps/dev-app/node_modules/.vite/deps/dayjs_plugin_customParseFormat.js.map +0 -7
  45. package/apps/dev-app/node_modules/.vite/deps/framer-motion.js +0 -12388
  46. package/apps/dev-app/node_modules/.vite/deps/framer-motion.js.map +0 -7
  47. package/apps/dev-app/node_modules/.vite/deps/html2canvas-pro.js +0 -9713
  48. package/apps/dev-app/node_modules/.vite/deps/html2canvas-pro.js.map +0 -7
  49. package/apps/dev-app/node_modules/.vite/deps/html2canvas.esm-VL7GM4AH.js +0 -8
  50. package/apps/dev-app/node_modules/.vite/deps/html2canvas.esm-VL7GM4AH.js.map +0 -7
  51. package/apps/dev-app/node_modules/.vite/deps/index.es-3WTXOFZ2.js +0 -10392
  52. package/apps/dev-app/node_modules/.vite/deps/index.es-3WTXOFZ2.js.map +0 -7
  53. package/apps/dev-app/node_modules/.vite/deps/jspdf.js +0 -41
  54. package/apps/dev-app/node_modules/.vite/deps/jspdf.js.map +0 -7
  55. package/apps/dev-app/node_modules/.vite/deps/lucide-react.js +0 -31586
  56. package/apps/dev-app/node_modules/.vite/deps/lucide-react.js.map +0 -7
  57. package/apps/dev-app/node_modules/.vite/deps/package.json +0 -3
  58. package/apps/dev-app/node_modules/.vite/deps/purify.es-JNLDEIMX.js +0 -1029
  59. package/apps/dev-app/node_modules/.vite/deps/purify.es-JNLDEIMX.js.map +0 -7
  60. package/apps/dev-app/node_modules/.vite/deps/react-dom.js +0 -7
  61. package/apps/dev-app/node_modules/.vite/deps/react-dom.js.map +0 -7
  62. package/apps/dev-app/node_modules/.vite/deps/react-dom_client.js +0 -8
  63. package/apps/dev-app/node_modules/.vite/deps/react-dom_client.js.map +0 -7
  64. package/apps/dev-app/node_modules/.vite/deps/react-hook-form.js +0 -2233
  65. package/apps/dev-app/node_modules/.vite/deps/react-hook-form.js.map +0 -7
  66. package/apps/dev-app/node_modules/.vite/deps/react-phone-number-input.js +0 -9307
  67. package/apps/dev-app/node_modules/.vite/deps/react-phone-number-input.js.map +0 -7
  68. package/apps/dev-app/node_modules/.vite/deps/react-router-dom.js +0 -14234
  69. package/apps/dev-app/node_modules/.vite/deps/react-router-dom.js.map +0 -7
  70. package/apps/dev-app/node_modules/.vite/deps/react-to-pdf.js +0 -268
  71. package/apps/dev-app/node_modules/.vite/deps/react-to-pdf.js.map +0 -7
  72. package/apps/dev-app/node_modules/.vite/deps/react.js +0 -6
  73. package/apps/dev-app/node_modules/.vite/deps/react.js.map +0 -7
  74. package/apps/dev-app/node_modules/.vite/deps/react_jsx-dev-runtime.js +0 -913
  75. package/apps/dev-app/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +0 -7
  76. package/apps/dev-app/node_modules/.vite/deps/react_jsx-runtime.js +0 -7
  77. package/apps/dev-app/node_modules/.vite/deps/react_jsx-runtime.js.map +0 -7
  78. package/apps/dev-app/node_modules/.vite/deps/tailwind-merge.js +0 -2534
  79. package/apps/dev-app/node_modules/.vite/deps/tailwind-merge.js.map +0 -7
  80. package/apps/dev-app/node_modules/tailwindcss/LICENSE +0 -21
  81. package/apps/dev-app/node_modules/tailwindcss/README.md +0 -36
  82. package/apps/dev-app/node_modules/tailwindcss/dist/chunk-L5IEUH3R.mjs +0 -38
  83. package/apps/dev-app/node_modules/tailwindcss/dist/chunk-UWKE2Z6N.mjs +0 -1
  84. package/apps/dev-app/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +0 -1
  85. package/apps/dev-app/node_modules/tailwindcss/dist/colors-C__qRT83.d.ts +0 -347
  86. package/apps/dev-app/node_modules/tailwindcss/dist/colors.d.mts +0 -347
  87. package/apps/dev-app/node_modules/tailwindcss/dist/colors.d.ts +0 -5
  88. package/apps/dev-app/node_modules/tailwindcss/dist/colors.js +0 -1
  89. package/apps/dev-app/node_modules/tailwindcss/dist/colors.mjs +0 -1
  90. package/apps/dev-app/node_modules/tailwindcss/dist/default-theme.d.mts +0 -1199
  91. package/apps/dev-app/node_modules/tailwindcss/dist/default-theme.d.ts +0 -1199
  92. package/apps/dev-app/node_modules/tailwindcss/dist/default-theme.js +0 -1
  93. package/apps/dev-app/node_modules/tailwindcss/dist/default-theme.mjs +0 -1
  94. package/apps/dev-app/node_modules/tailwindcss/dist/flatten-color-palette.d.mts +0 -6
  95. package/apps/dev-app/node_modules/tailwindcss/dist/flatten-color-palette.d.ts +0 -6
  96. package/apps/dev-app/node_modules/tailwindcss/dist/flatten-color-palette.js +0 -3
  97. package/apps/dev-app/node_modules/tailwindcss/dist/flatten-color-palette.mjs +0 -1
  98. package/apps/dev-app/node_modules/tailwindcss/dist/lib.d.mts +0 -378
  99. package/apps/dev-app/node_modules/tailwindcss/dist/lib.d.ts +0 -3
  100. package/apps/dev-app/node_modules/tailwindcss/dist/lib.js +0 -38
  101. package/apps/dev-app/node_modules/tailwindcss/dist/lib.mjs +0 -1
  102. package/apps/dev-app/node_modules/tailwindcss/dist/plugin.d.mts +0 -11
  103. package/apps/dev-app/node_modules/tailwindcss/dist/plugin.d.ts +0 -134
  104. package/apps/dev-app/node_modules/tailwindcss/dist/plugin.js +0 -1
  105. package/apps/dev-app/node_modules/tailwindcss/dist/plugin.mjs +0 -1
  106. package/apps/dev-app/node_modules/tailwindcss/dist/resolve-config-B4yBzhca.d.ts +0 -29
  107. package/apps/dev-app/node_modules/tailwindcss/dist/resolve-config-QUZ9b-Gn.d.mts +0 -190
  108. package/apps/dev-app/node_modules/tailwindcss/dist/types-CJYAW1ql.d.mts +0 -128
  109. package/apps/dev-app/node_modules/tailwindcss/index.css +0 -944
  110. package/apps/dev-app/node_modules/tailwindcss/package.json +0 -89
  111. package/apps/dev-app/node_modules/tailwindcss/preflight.css +0 -393
  112. package/apps/dev-app/node_modules/tailwindcss/theme.css +0 -510
  113. package/apps/dev-app/node_modules/tailwindcss/utilities.css +0 -1
  114. package/apps/dev-app/package.json +0 -35
  115. package/apps/dev-app/src/App.tsx +0 -74
  116. package/apps/dev-app/src/index.css +0 -18
  117. package/apps/dev-app/src/main.tsx +0 -18
  118. package/apps/dev-app/src/pages/Buttons.tsx +0 -122
  119. package/apps/dev-app/src/pages/DataTable.tsx +0 -208
  120. package/apps/dev-app/src/pages/Fields.tsx +0 -342
  121. package/apps/dev-app/src/pages/Modals.tsx +0 -151
  122. package/apps/dev-app/src/pages/Spins.tsx +0 -161
  123. package/apps/dev-app/ts_errors.txt +0 -0
  124. package/apps/dev-app/tsconfig.json +0 -25
  125. package/apps/dev-app/tsconfig.node.json +0 -10
  126. package/apps/dev-app/vite.config.ts +0 -11
  127. package/packages/ui/dist/index.css +0 -3
  128. package/packages/ui/log.txt +0 -0
  129. package/packages/ui/package.json +0 -68
  130. package/packages/ui/postcss.config.js +0 -6
  131. package/packages/ui/src/components/Button.tsx +0 -85
  132. package/packages/ui/src/components/Card.tsx +0 -97
  133. package/packages/ui/src/components/CodeBlock.tsx +0 -53
  134. package/packages/ui/src/components/DashboardLayout.tsx +0 -442
  135. package/packages/ui/src/components/Fields/Input.tsx +0 -191
  136. package/packages/ui/src/components/Fields/PhoneInput.tsx +0 -134
  137. package/packages/ui/src/components/Fields/date.tsx +0 -165
  138. package/packages/ui/src/components/Fields/index.tsx +0 -17
  139. package/packages/ui/src/components/Fields/searchApi.tsx +0 -479
  140. package/packages/ui/src/components/Fields/select.tsx +0 -131
  141. package/packages/ui/src/components/Fields/textArea.tsx +0 -121
  142. package/packages/ui/src/components/LoadingBox.tsx +0 -11
  143. package/packages/ui/src/components/PageHeader.tsx +0 -34
  144. package/packages/ui/src/components/ThemeToggle.tsx +0 -35
  145. package/packages/ui/src/components/modal/Modal.tsx +0 -81
  146. package/packages/ui/src/components/spins/ClassicSpin.tsx +0 -18
  147. package/packages/ui/src/components/spins/LoadingSpin.tsx +0 -45
  148. package/packages/ui/src/components/spins/OverlaySpin.tsx +0 -10
  149. package/packages/ui/src/components/spins/index.tsx +0 -13
  150. package/packages/ui/src/components/tables/DataTable.tsx +0 -261
  151. package/packages/ui/src/components/tables/index.ts +0 -1
  152. package/packages/ui/src/hooks/Fetches/useApis.tsx +0 -197
  153. package/packages/ui/src/hooks/ThemeContext.tsx +0 -56
  154. package/packages/ui/src/hooks/useModal.tsx +0 -38
  155. package/packages/ui/src/hooks/useTheme.ts +0 -34
  156. package/packages/ui/src/index.ts +0 -24
  157. package/packages/ui/src/providers/WarqadProvider.tsx +0 -69
  158. package/packages/ui/src/styles.css +0 -26
  159. package/packages/ui/src/utils/cn.ts +0 -6
  160. package/packages/ui/src/utils/pdf.ts +0 -171
  161. package/packages/ui/tailwind.config.js +0 -13
  162. package/packages/ui/tsconfig.json +0 -17
  163. package/packages/ui/warqad-ui-0.0.1.tgz +0 -0
  164. package/packages/ui/warqadui-0.0.3.tgz +0 -0
  165. package/warqad-ui-0.0.1.tgz +0 -0
  166. /package/{packages/ui/dist → dist}/index.d.mts +0 -0
  167. /package/{packages/ui/dist → dist}/index.d.ts +0 -0
  168. /package/{packages/ui/dist → dist}/index.js +0 -0
  169. /package/{packages/ui/dist → dist}/index.mjs +0 -0
  170. /package/{packages/ui/dist → dist}/styles.d.mts +0 -0
  171. /package/{packages/ui/dist → dist}/styles.d.ts +0 -0
  172. /package/{packages/ui/dist → dist}/styles.js +0 -0
  173. /package/{packages/ui/dist → dist}/styles.mjs +0 -0
@@ -1,89 +0,0 @@
1
- {
2
- "name": "tailwindcss",
3
- "version": "4.2.1",
4
- "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
- "license": "MIT",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/tailwindlabs/tailwindcss.git",
9
- "directory": "packages/tailwindcss"
10
- },
11
- "bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
12
- "homepage": "https://tailwindcss.com",
13
- "exports": {
14
- ".": {
15
- "types": "./dist/lib.d.mts",
16
- "style": "./index.css",
17
- "require": "./dist/lib.js",
18
- "import": "./dist/lib.mjs"
19
- },
20
- "./plugin": {
21
- "require": "./dist/plugin.js",
22
- "import": "./dist/plugin.mjs"
23
- },
24
- "./plugin.js": {
25
- "require": "./dist/plugin.js",
26
- "import": "./dist/plugin.mjs"
27
- },
28
- "./defaultTheme": {
29
- "require": "./dist/default-theme.js",
30
- "import": "./dist/default-theme.mjs"
31
- },
32
- "./defaultTheme.js": {
33
- "require": "./dist/default-theme.js",
34
- "import": "./dist/default-theme.mjs"
35
- },
36
- "./colors": {
37
- "require": "./dist/colors.js",
38
- "import": "./dist/colors.mjs"
39
- },
40
- "./colors.js": {
41
- "require": "./dist/colors.js",
42
- "import": "./dist/colors.mjs"
43
- },
44
- "./lib/util/flattenColorPalette": {
45
- "require": "./dist/flatten-color-palette.js",
46
- "import": "./dist/flatten-color-palette.mjs"
47
- },
48
- "./lib/util/flattenColorPalette.js": {
49
- "require": "./dist/flatten-color-palette.js",
50
- "import": "./dist/flatten-color-palette.mjs"
51
- },
52
- "./package.json": "./package.json",
53
- "./index.css": "./index.css",
54
- "./index": "./index.css",
55
- "./preflight.css": "./preflight.css",
56
- "./preflight": "./preflight.css",
57
- "./theme.css": "./theme.css",
58
- "./theme": "./theme.css",
59
- "./utilities.css": "./utilities.css",
60
- "./utilities": "./utilities.css"
61
- },
62
- "publishConfig": {
63
- "provenance": true,
64
- "access": "public"
65
- },
66
- "style": "index.css",
67
- "files": [
68
- "dist",
69
- "index.css",
70
- "preflight.css",
71
- "theme.css",
72
- "utilities.css"
73
- ],
74
- "devDependencies": {
75
- "@jridgewell/remapping": "^2.3.5",
76
- "@types/node": "^20.19.0",
77
- "dedent": "1.7.1",
78
- "lightningcss": "1.31.1",
79
- "magic-string": "^0.30.21",
80
- "source-map-js": "^1.2.1",
81
- "@tailwindcss/oxide": "^4.2.1"
82
- },
83
- "scripts": {
84
- "lint": "tsc --noEmit",
85
- "build": "tsup-node --env.NODE_ENV production",
86
- "dev": "tsup-node --env.NODE_ENV development --watch",
87
- "test:ui": "playwright test"
88
- }
89
- }
@@ -1,393 +0,0 @@
1
- /*
2
- 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
3
- 2. Remove default margins and padding
4
- 3. Reset all borders.
5
- */
6
-
7
- *,
8
- ::after,
9
- ::before,
10
- ::backdrop,
11
- ::file-selector-button {
12
- box-sizing: border-box; /* 1 */
13
- margin: 0; /* 2 */
14
- padding: 0; /* 2 */
15
- border: 0 solid; /* 3 */
16
- }
17
-
18
- /*
19
- 1. Use a consistent sensible line-height in all browsers.
20
- 2. Prevent adjustments of font size after orientation changes in iOS.
21
- 3. Use a more readable tab size.
22
- 4. Use the user's configured `sans` font-family by default.
23
- 5. Use the user's configured `sans` font-feature-settings by default.
24
- 6. Use the user's configured `sans` font-variation-settings by default.
25
- 7. Disable tap highlights on iOS.
26
- */
27
-
28
- html,
29
- :host {
30
- line-height: 1.5; /* 1 */
31
- -webkit-text-size-adjust: 100%; /* 2 */
32
- tab-size: 4; /* 3 */
33
- font-family: --theme(
34
- --default-font-family,
35
- ui-sans-serif,
36
- system-ui,
37
- sans-serif,
38
- 'Apple Color Emoji',
39
- 'Segoe UI Emoji',
40
- 'Segoe UI Symbol',
41
- 'Noto Color Emoji'
42
- ); /* 4 */
43
- font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */
44
- font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */
45
- -webkit-tap-highlight-color: transparent; /* 7 */
46
- }
47
-
48
- /*
49
- 1. Add the correct height in Firefox.
50
- 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
51
- 3. Reset the default border style to a 1px solid border.
52
- */
53
-
54
- hr {
55
- height: 0; /* 1 */
56
- color: inherit; /* 2 */
57
- border-top-width: 1px; /* 3 */
58
- }
59
-
60
- /*
61
- Add the correct text decoration in Chrome, Edge, and Safari.
62
- */
63
-
64
- abbr:where([title]) {
65
- -webkit-text-decoration: underline dotted;
66
- text-decoration: underline dotted;
67
- }
68
-
69
- /*
70
- Remove the default font size and weight for headings.
71
- */
72
-
73
- h1,
74
- h2,
75
- h3,
76
- h4,
77
- h5,
78
- h6 {
79
- font-size: inherit;
80
- font-weight: inherit;
81
- }
82
-
83
- /*
84
- Reset links to optimize for opt-in styling instead of opt-out.
85
- */
86
-
87
- a {
88
- color: inherit;
89
- -webkit-text-decoration: inherit;
90
- text-decoration: inherit;
91
- }
92
-
93
- /*
94
- Add the correct font weight in Edge and Safari.
95
- */
96
-
97
- b,
98
- strong {
99
- font-weight: bolder;
100
- }
101
-
102
- /*
103
- 1. Use the user's configured `mono` font-family by default.
104
- 2. Use the user's configured `mono` font-feature-settings by default.
105
- 3. Use the user's configured `mono` font-variation-settings by default.
106
- 4. Correct the odd `em` font sizing in all browsers.
107
- */
108
-
109
- code,
110
- kbd,
111
- samp,
112
- pre {
113
- font-family: --theme(
114
- --default-mono-font-family,
115
- ui-monospace,
116
- SFMono-Regular,
117
- Menlo,
118
- Monaco,
119
- Consolas,
120
- 'Liberation Mono',
121
- 'Courier New',
122
- monospace
123
- ); /* 1 */
124
- font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */
125
- font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */
126
- font-size: 1em; /* 4 */
127
- }
128
-
129
- /*
130
- Add the correct font size in all browsers.
131
- */
132
-
133
- small {
134
- font-size: 80%;
135
- }
136
-
137
- /*
138
- Prevent `sub` and `sup` elements from affecting the line height in all browsers.
139
- */
140
-
141
- sub,
142
- sup {
143
- font-size: 75%;
144
- line-height: 0;
145
- position: relative;
146
- vertical-align: baseline;
147
- }
148
-
149
- sub {
150
- bottom: -0.25em;
151
- }
152
-
153
- sup {
154
- top: -0.5em;
155
- }
156
-
157
- /*
158
- 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
159
- 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
160
- 3. Remove gaps between table borders by default.
161
- */
162
-
163
- table {
164
- text-indent: 0; /* 1 */
165
- border-color: inherit; /* 2 */
166
- border-collapse: collapse; /* 3 */
167
- }
168
-
169
- /*
170
- Use the modern Firefox focus style for all focusable elements.
171
- */
172
-
173
- :-moz-focusring {
174
- outline: auto;
175
- }
176
-
177
- /*
178
- Add the correct vertical alignment in Chrome and Firefox.
179
- */
180
-
181
- progress {
182
- vertical-align: baseline;
183
- }
184
-
185
- /*
186
- Add the correct display in Chrome and Safari.
187
- */
188
-
189
- summary {
190
- display: list-item;
191
- }
192
-
193
- /*
194
- Make lists unstyled by default.
195
- */
196
-
197
- ol,
198
- ul,
199
- menu {
200
- list-style: none;
201
- }
202
-
203
- /*
204
- 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
205
- 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
206
- This can trigger a poorly considered lint error in some tools but is included by design.
207
- */
208
-
209
- img,
210
- svg,
211
- video,
212
- canvas,
213
- audio,
214
- iframe,
215
- embed,
216
- object {
217
- display: block; /* 1 */
218
- vertical-align: middle; /* 2 */
219
- }
220
-
221
- /*
222
- Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
223
- */
224
-
225
- img,
226
- video {
227
- max-width: 100%;
228
- height: auto;
229
- }
230
-
231
- /*
232
- 1. Inherit font styles in all browsers.
233
- 2. Remove border radius in all browsers.
234
- 3. Remove background color in all browsers.
235
- 4. Ensure consistent opacity for disabled states in all browsers.
236
- */
237
-
238
- button,
239
- input,
240
- select,
241
- optgroup,
242
- textarea,
243
- ::file-selector-button {
244
- font: inherit; /* 1 */
245
- font-feature-settings: inherit; /* 1 */
246
- font-variation-settings: inherit; /* 1 */
247
- letter-spacing: inherit; /* 1 */
248
- color: inherit; /* 1 */
249
- border-radius: 0; /* 2 */
250
- background-color: transparent; /* 3 */
251
- opacity: 1; /* 4 */
252
- }
253
-
254
- /*
255
- Restore default font weight.
256
- */
257
-
258
- :where(select:is([multiple], [size])) optgroup {
259
- font-weight: bolder;
260
- }
261
-
262
- /*
263
- Restore indentation.
264
- */
265
-
266
- :where(select:is([multiple], [size])) optgroup option {
267
- padding-inline-start: 20px;
268
- }
269
-
270
- /*
271
- Restore space after button.
272
- */
273
-
274
- ::file-selector-button {
275
- margin-inline-end: 4px;
276
- }
277
-
278
- /*
279
- Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
280
- */
281
-
282
- ::placeholder {
283
- opacity: 1;
284
- }
285
-
286
- /*
287
- Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
288
- crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
289
- */
290
-
291
- @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
292
- (contain-intrinsic-size: 1px) /* Safari 17+ */ {
293
- ::placeholder {
294
- color: color-mix(in oklab, currentcolor 50%, transparent);
295
- }
296
- }
297
-
298
- /*
299
- Prevent resizing textareas horizontally by default.
300
- */
301
-
302
- textarea {
303
- resize: vertical;
304
- }
305
-
306
- /*
307
- Remove the inner padding in Chrome and Safari on macOS.
308
- */
309
-
310
- ::-webkit-search-decoration {
311
- -webkit-appearance: none;
312
- }
313
-
314
- /*
315
- 1. Ensure date/time inputs have the same height when empty in iOS Safari.
316
- 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
317
- */
318
-
319
- ::-webkit-date-and-time-value {
320
- min-height: 1lh; /* 1 */
321
- text-align: inherit; /* 2 */
322
- }
323
-
324
- /*
325
- Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
326
- */
327
-
328
- ::-webkit-datetime-edit {
329
- display: inline-flex;
330
- }
331
-
332
- /*
333
- Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
334
- */
335
-
336
- ::-webkit-datetime-edit-fields-wrapper {
337
- padding: 0;
338
- }
339
-
340
- ::-webkit-datetime-edit,
341
- ::-webkit-datetime-edit-year-field,
342
- ::-webkit-datetime-edit-month-field,
343
- ::-webkit-datetime-edit-day-field,
344
- ::-webkit-datetime-edit-hour-field,
345
- ::-webkit-datetime-edit-minute-field,
346
- ::-webkit-datetime-edit-second-field,
347
- ::-webkit-datetime-edit-millisecond-field,
348
- ::-webkit-datetime-edit-meridiem-field {
349
- padding-block: 0;
350
- }
351
-
352
- /*
353
- Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
354
- */
355
-
356
- ::-webkit-calendar-picker-indicator {
357
- line-height: 1;
358
- }
359
-
360
- /*
361
- Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
362
- */
363
-
364
- :-moz-ui-invalid {
365
- box-shadow: none;
366
- }
367
-
368
- /*
369
- Correct the inability to style the border radius in iOS Safari.
370
- */
371
-
372
- button,
373
- input:where([type='button'], [type='reset'], [type='submit']),
374
- ::file-selector-button {
375
- appearance: button;
376
- }
377
-
378
- /*
379
- Correct the cursor style of increment and decrement buttons in Safari.
380
- */
381
-
382
- ::-webkit-inner-spin-button,
383
- ::-webkit-outer-spin-button {
384
- height: auto;
385
- }
386
-
387
- /*
388
- Make elements with the HTML hidden attribute stay hidden by default.
389
- */
390
-
391
- [hidden]:where(:not([hidden='until-found'])) {
392
- display: none !important;
393
- }