frutjam 0.0.6 → 0.0.8-alpha.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.
- package/LICENSE +21 -7
- package/dist/frutjam.css +9 -0
- package/dist/frutjam.css.map +1 -0
- package/dist/frutjam.js +2 -0
- package/dist/frutjam.js.map +1 -0
- package/package.json +58 -44
- package/src/components/button.css +225 -0
- package/src/components/modal.css +105 -0
- package/src/components/typography.css +5 -0
- package/src/main.css +4 -0
- package/src/main.js +1 -0
- package/src/themes/default.css +60 -0
- package/src/themes/typography.css +8 -0
- package/README.md +0 -78
- package/src/index.ts +0 -4
- package/src/plugins/notification/config.ts +0 -14
- package/src/plugins/notification/index.ts +0 -124
- package/src/plugins/notification/interfaces.ts +0 -22
- package/src/plugins/notification/styles.css +0 -9
- package/src/plugins/notification/types.ts +0 -5
- package/src/plugins/popover/index.ts +0 -45
- package/src/plugins/popover/styles.css +0 -12
- package/src/plugins/tabs/index.ts +0 -112
- package/src/plugins/tabs/types.ts +0 -7
- package/src/plugins/telephoneInput/data.ts +0 -1131
- package/src/plugins/telephoneInput/index.ts +0 -114
- package/src/plugins/telephoneInput/interfaces.ts +0 -6
- package/src/plugins/telephoneInput/types.ts +0 -7
package/LICENSE
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 nezanuha
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/frutjam.css
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */@layer theme, base, components, utilities;@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-neutral-500:oklch(0.556 0 0);--color-neutral-950:oklch(0.145 0 0);--color-black:#000;--color-white:#fff;--spacing:0.25rem;--text-xs:0.75rem;--text-xs--line-height:1.33333;--text-sm:0.875rem;--text-sm--line-height:1.42857;--font-weight-medium:500;--radius-md:0.375rem;--radius-lg:0.5rem;--radius-2xl:1rem;--default-transition-duration:150ms;--default-transition-timing-function:cubic-bezier(0.4,0,0.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(
|
|
2
|
+
--font-sans--font-variation-settings
|
|
3
|
+
);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(
|
|
4
|
+
--font-mono--font-feature-settings
|
|
5
|
+
);--default-mono-font-variation-settings:var(
|
|
6
|
+
--font-mono--font-variation-settings
|
|
7
|
+
)}}@layer base{*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:var( --default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" );font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var( --default-font-variation-settings,normal );tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var( --default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace );font-feature-settings:var( --default-mono-font-feature-settings,normal );font-size:1em;font-variation-settings:var( --default-mono-font-variation-settings,normal )}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{background-color:transparent;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{color:color-mix(in oklab,currentColor 50%,transparent);opacity:1}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.dialog{align-items:center;background-color:transparent;color:inherit;display:grid;height:100%;inset:calc(var(--spacing)*0);justify-items:center;margin:calc(var(--spacing)*0);max-height:none;max-width:none;overflow-x:hidden;overflow-y:hidden;overscroll-behavior:contain;padding:calc(var(--spacing)*0);pointer-events:none;position:fixed;transition:transform .3s ease-out,visibility allow-discrete .3s,opacity .1s ease-out;visibility:hidden;width:100%;z-index:999;&::backdrop,&:not(dialog:not([popover]:popover-open)){background-color:color-mix(in oklab,var(--color-neutral-950) 25%,transparent);opacity:100%;@media (prefers-color-scheme:dark){background-color:color-mix(in oklab,var(--color-neutral-950) 50%,transparent)}@starting-style{visibility:hidden}@starting-style{opacity:0}transition:display allow-discrete .3s ease-out,opacity .3s ease-out,visibility allow-discrete .3s ease-out}&[popover]:popover-open{opacity:100%;pointer-events:auto;visibility:visible;@starting-style{visibility:hidden}@starting-style{opacity:0}.dialog-body{opacity:1;scale:1;translate:0 0}}}.btn{align-items:center;border-radius:var(--radius-lg);cursor:pointer;display:flex;font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));overflow:hidden;position:relative;text-align:center;--tw-font-weight:var(--font-weight-medium);color:buttonFace;font-weight:var(--font-weight-medium);--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-inset-ring-color:color-mix(in oklab,var(--color-black) 10%,transparent);transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));--tw-duration:300ms;transition-duration:.3s;&:focus{--tw-inset-ring-color:color-mix(in oklab,var(--color-black) 30%,transparent)}&:not(.btn-dashed,.btn-outline,.btn-soft){border-color:color-mix(in oklab,var(--color-black) 40%,transparent);border-top-style:var(--tw-border-style);border-top-width:1px}}.static{position:static}.dialog-backdrop{align-self:stretch;color:transparent;display:grid;grid-column-start:1;grid-row-start:1;justify-self:stretch;z-index:-1;button{cursor:pointer}}.dialog-body{background-color:var(--color-white);border-radius:var(--radius-2xl);grid-column-start:1;grid-row-start:1;max-height:100vh;max-width:32rem;padding:calc(var(--spacing)*4);width:91.66667%;--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,rgba(0,0,0,.1)),0 4px 6px -4px var(--tw-shadow-color,rgba(0,0,0,.1));--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--color-neutral-500) 10%,transparent);@media (forced-colors:active){outline-style:var(--tw-outline-style);outline-width:1px}opacity:0;overflow-y:auto;overscroll-behavior:contain;scale:95%;transition:translate .3s ease-out,scale .3s ease-out,opacity .2s ease-out .05s,box-shadow .3s ease-out}.dialog-start{place-items:start;:where(.dialog-body){border-radius:0;height:100vh;max-height:none;max-width:none;scale:1;translate:-100% 0;width:auto}}.rounded-md{border-radius:var(--radius-md)}.btn-error{background-color:var(--error-color);color:var(--error-content-color);&:is(.btn-dashed,.btn-outline){background-color:var(--color-white);border-color:var(--error-color);color:var(--error-color)}@media (hover:hover){&:hover{--tw-border-style:solid;background-color:var(--error-color);border-style:solid;color:var(--error-content-color);opacity:80%}}}.btn-success{background-color:var(--success-color);color:var(--success-content-color);&:is(.btn-dashed,.btn-outline){background-color:var(--color-white);border-color:var(--success-color);color:var(--success-color)}@media (hover:hover){&:hover{--tw-border-style:solid;background-color:var(--success-color);border-style:solid;color:var(--success-content-color);opacity:90%}}}.p-4{padding:calc(var(--spacing)*4)}.btn-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*3);--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.lg\:p-12{@media (width >= 64rem){padding:calc(var(--spacing)*12)}}}:root{--neutral-color:oklch(14% .005 285.823);--neutral-content-color:#fff;--primary-color:oklch(0.546 0.245 262.881);--primary-content-color:oklch(0.95 0.02 262.881);--secondary-color:oklch(37.69% 0.1347 323.76);--secondary-content-color:oklch(100% 0 0);--accent-color:oklch(0.6 0.3 262.881);--accent-content-color:oklch(0.98 0.03 262.881);--info-color:oklch(0.65 0.2 230);--info-content-color:oklch(0.98 0.02 230);--success-color:oklch(0.6 0.22 150);--success-content-color:oklch(0.98 0.02 150);--warning-color:oklch(77.2% 0.1738 64.55);--warning-content-color:oklch(0% 0 0);--error-color:oklch(0.6 0.25 30);--error-content-color:oklch(0.98 0.02 30)}[data-theme=dark]{--primary-color:oklch(.546 .245 262.881);--primary-content-color:#fff;--secondary-color:oklch(.546 .245 262.881);--secondary-content-color:#fff}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}
|
|
8
|
+
|
|
9
|
+
/*# sourceMappingURL=frutjam.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frutjam.css","mappings":"AAAA,gEAGiC,CAHjC,yCAGiC,CAHjC,iJAGiC,CAHjC,uGAGiC,CAHjC,oCAGiC,CAHjC,oCAGiC,CAHjC,kBAGiC,CAHjC,kBAGiC,CAHjC,iBAGiC,CAHjC,iBAGiC,CAHjC,8BAG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C,CAHjC,cAGiC,CAHjC,qCAGiC,CAHjC,cAGiC,CAHjC,uBAGiC,CAHjC,0CAGiC,CAHjC,cAGiC,CAHjC,2CAGiC,CAHjC,cAGiC,CAHjC,uBAGiC,CAHjC,oCAGiC,CAHjC,cAGiC,CAHjC,kDAGiC,CAHjC,cAGiC,CAHjC,eAGiC,CAHjC,2CAGiC,CAHjC,cAGiC,CAHjC,kBAGiC,CAHjC,4CAGiC,CAHjC,cAGiC,CAHjC,uBAGiC,CAHjC,kCAGiC,CAHjC,cAGiC,CAHjC,sCAGiC,CAHjC,cAGiC,CAHjC,mBAGiC,CAHjC,uCAGiC,CAHjC,cAGiC,CAHjC,mBAGiC,CAHjC,iCAGiC,CAHjC,cAGiC,CAHjC,8BAGiC,CAHjC,cAGiC,CAHjC,oCAGiC,CAHjC,cAGiC,CAHjC,kCAGiC,CAHjC,cAGiC,CAHjC,mCAGiC,CAHjC,cAGiC,CAHjC,oCAGiC,CAHjC,cAGiC,CAHjC,gCAGiC,CAHjC,cAGiC,CAHjC,iCAGiC,CAHjC,cAGiC,CAHjC,kCAGiC,CAHjC,cAGiC,CAHjC,+BAGiC,CAHjC,cAGiC,CAHjC,qCAGiC,CAHjC,cAGiC,C","sources":["webpack://frutjam/./src/main.css"],"sourcesContent":["@import 'tailwindcss';\n@import './themes/default.css';\n@import './components/button.css';\n@import './components/modal.css';"],"names":[],"sourceRoot":""}
|
package/dist/frutjam.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.frutjam=t():e.frutjam=t()}("undefined"!=typeof self?self:this,(()=>(()=>{"use strict";var e={};return e=e.default})()));
|
|
2
|
+
//# sourceMappingURL=frutjam.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frutjam.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAiB,QAAID,IAErBD,EAAc,QAAIC,GACnB,CATD,CASmB,oBAATK,KAAuBA,KAAOC,MAAM,I","sources":["webpack://frutjam/webpack/universalModuleDefinition"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"frutjam\"] = factory();\n\telse\n\t\troot[\"frutjam\"] = factory();\n})(typeof self !== \"undefined\" ? self : this, () => {\nreturn "],"names":["root","factory","exports","module","define","amd","self","this"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,44 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "frutjam",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "./dist/
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"tailwindcss": "^
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "frutjam",
|
|
3
|
+
"version": "0.0.8-alpha.1",
|
|
4
|
+
"description": "Tailwindcss UI Library",
|
|
5
|
+
"main": "./dist/frutjam.js",
|
|
6
|
+
"browser": "dist/frutjam.js",
|
|
7
|
+
"style": "./dist/frutjam.css",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/**/*",
|
|
10
|
+
"src/**/*"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/nezanuha/frutjam.git"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"clean": "rimraf dist",
|
|
18
|
+
"build": "npm run clean && webpack --mode=production",
|
|
19
|
+
"prepublishOnly": "npm run build",
|
|
20
|
+
"dev": "webpack serve --mode=development"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"provenance": true,
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"tailwindcss",
|
|
28
|
+
"UI Library"
|
|
29
|
+
],
|
|
30
|
+
"author": "Nezanuha",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"homepage": "https://github.com/nezanuha/frutjam",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/nezanuha/frutjam/issues"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@tailwindcss/postcss": "^4.0.9",
|
|
38
|
+
"marked": "~15.0.4",
|
|
39
|
+
"tailwindcss": "^4.0.9"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@babel/core": "^7.25.2",
|
|
43
|
+
"@babel/preset-env": "^7.25.4",
|
|
44
|
+
"babel-loader": "^10.0.0",
|
|
45
|
+
"css-loader": "^7.1.2",
|
|
46
|
+
"cssnano": "^7.0.6",
|
|
47
|
+
"html-webpack-plugin": "^5.6.3",
|
|
48
|
+
"mini-css-extract-plugin": "^2.9.1",
|
|
49
|
+
"postcss": "^8.4.47",
|
|
50
|
+
"postcss-loader": "^8.1.1",
|
|
51
|
+
"rimraf": "^6.0.1",
|
|
52
|
+
"style-loader": "^4.0.0",
|
|
53
|
+
"terser-webpack-plugin": "^5.3.12",
|
|
54
|
+
"webpack": "^5.95.0",
|
|
55
|
+
"webpack-cli": "^6.0.1",
|
|
56
|
+
"webpack-dev-server": "^5.2.0"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
@utility btn {
|
|
2
|
+
@apply text-[buttonFace] flex items-center text-center rounded-lg font-medium cursor-pointer relative overflow-hidden text-xs transition duration-300 inset-ring inset-ring-black/10;
|
|
3
|
+
|
|
4
|
+
&:focus{
|
|
5
|
+
@apply inset-ring-black/30;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&:not(.btn-dashed, .btn-outline, .btn-soft){
|
|
9
|
+
@apply border-t border-black/40;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@utility btn-dashed {
|
|
14
|
+
@apply border border-dashed
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@utility btn-outline {
|
|
18
|
+
@apply border border-solid
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@utility btn-soft {
|
|
22
|
+
&:is(.btn-neutral){
|
|
23
|
+
@apply bg-neutral/10 text-neutral;
|
|
24
|
+
@media (hover: hover){
|
|
25
|
+
&:hover {
|
|
26
|
+
@apply bg-neutral text-[var(--color-neutral-content)];
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:is(.btn-primary){
|
|
32
|
+
@apply bg-primary/10 text-primary;
|
|
33
|
+
@media (hover: hover){
|
|
34
|
+
&:hover {
|
|
35
|
+
@apply bg-primary text-[var(--color-primary-content)];
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:is(.btn-secondary){
|
|
41
|
+
@apply bg-secondary/10 text-secondary;
|
|
42
|
+
@media (hover: hover){
|
|
43
|
+
&:hover {
|
|
44
|
+
@apply bg-secondary text-[var(--color-secondary-content)];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:is(.btn-accent){
|
|
50
|
+
@apply bg-accent/10 text-accent;
|
|
51
|
+
@media (hover: hover){
|
|
52
|
+
&:hover {
|
|
53
|
+
@apply bg-accent text-[var(--color-accent-content)];
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:is(.btn-info){
|
|
59
|
+
@apply bg-info/10 text-info;
|
|
60
|
+
@media (hover: hover){
|
|
61
|
+
&:hover {
|
|
62
|
+
@apply bg-info text-[var(--color-info-content)];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:is(.btn-success){
|
|
68
|
+
@apply bg-success/10 text-success;
|
|
69
|
+
@media (hover: hover){
|
|
70
|
+
&:hover {
|
|
71
|
+
@apply bg-success text-[var(--color-success-content)];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:is(.btn-warning){
|
|
77
|
+
@apply bg-warning/10 text-warning;
|
|
78
|
+
@media (hover: hover){
|
|
79
|
+
&:hover {
|
|
80
|
+
@apply bg-warning text-[var(--color-warning-content)];
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:is(.btn-error){
|
|
86
|
+
@apply bg-error/10 text-error;
|
|
87
|
+
@media (hover: hover){
|
|
88
|
+
&:hover {
|
|
89
|
+
@apply bg-error text-[var(--color-error-content)];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@utility btn-xs {
|
|
96
|
+
@apply px-2.5 py-1.5 text-xs leading-4;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@utility btn-sm {
|
|
100
|
+
@apply px-3 py-2 text-sm leading-4;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@utility btn-md {
|
|
104
|
+
@apply px-4 py-2 text-sm leading-5;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@utility btn-lg {
|
|
108
|
+
@apply px-4 py-2 text-base leading-6;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@utility btn-xl {
|
|
112
|
+
@apply px-6 py-3 text-base leading-6;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@utility btn-neutral {
|
|
116
|
+
@apply bg-neutral text-neutral-content;
|
|
117
|
+
|
|
118
|
+
&:is(.btn-dashed, .btn-outline){
|
|
119
|
+
@apply bg-white text-neutral border-neutral;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media (hover: hover){
|
|
123
|
+
&:hover {
|
|
124
|
+
@apply bg-neutral text-white border-solid;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@utility btn-primary {
|
|
130
|
+
@apply bg-primary text-primary-content;
|
|
131
|
+
|
|
132
|
+
&:is(.btn-dashed, .btn-outline):not(.btn-soft){
|
|
133
|
+
@apply bg-white text-primary border-primary;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@media (hover: hover){
|
|
137
|
+
&:hover {
|
|
138
|
+
@apply bg-primary text-primary-content border-solid opacity-90;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@utility btn-secondary {
|
|
144
|
+
@apply bg-secondary text-secondary-content;
|
|
145
|
+
|
|
146
|
+
&:is(.btn-dashed, .btn-outline){
|
|
147
|
+
@apply bg-white text-secondary border-secondary;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@media (hover: hover){
|
|
151
|
+
&:hover {
|
|
152
|
+
@apply bg-secondary text-secondary-content border-solid opacity-90;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@utility btn-accent {
|
|
158
|
+
@apply bg-accent text-accent-content;
|
|
159
|
+
|
|
160
|
+
&:is(.btn-dashed, .btn-outline){
|
|
161
|
+
@apply bg-white text-accent border-accent;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@media (hover: hover){
|
|
165
|
+
&:hover {
|
|
166
|
+
@apply bg-accent text-accent-content border-solid opacity-90;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@utility btn-info {
|
|
172
|
+
@apply bg-info text-info-content;
|
|
173
|
+
|
|
174
|
+
&:is(.btn-dashed, .btn-outline){
|
|
175
|
+
@apply bg-white text-info border-info;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@media (hover: hover){
|
|
179
|
+
&:hover {
|
|
180
|
+
@apply bg-info text-info-content border-solid opacity-90;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@utility btn-success {
|
|
186
|
+
@apply bg-success text-success-content;
|
|
187
|
+
|
|
188
|
+
&:is(.btn-dashed, .btn-outline){
|
|
189
|
+
@apply bg-white text-success border-success;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@media (hover: hover){
|
|
193
|
+
&:hover {
|
|
194
|
+
@apply bg-success text-success-content border-solid opacity-90;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@utility btn-warning {
|
|
200
|
+
@apply bg-warning text-warning-content;
|
|
201
|
+
|
|
202
|
+
&:is(.btn-dashed, .btn-outline){
|
|
203
|
+
@apply bg-white text-warning border-warning;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@media (hover: hover){
|
|
207
|
+
&:hover {
|
|
208
|
+
@apply bg-warning text-warning-content border-solid opacity-90;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
@utility btn-error {
|
|
214
|
+
@apply bg-error text-error-content;
|
|
215
|
+
|
|
216
|
+
&:is(.btn-dashed, .btn-outline){
|
|
217
|
+
@apply bg-white text-error border-error;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@media (hover: hover){
|
|
221
|
+
&:hover {
|
|
222
|
+
@apply bg-error text-error-content border-solid opacity-80;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@utility dialog {
|
|
2
|
+
@apply pointer-events-none invisible fixed inset-0 m-0 grid h-full max-h-none w-full max-w-none items-center justify-items-center bg-transparent p-0 text-inherit;
|
|
3
|
+
overflow-x: hidden;
|
|
4
|
+
transition:
|
|
5
|
+
transform 0.3s ease-out,
|
|
6
|
+
visibility 0.3s allow-discrete,
|
|
7
|
+
opacity 0.1s ease-out;
|
|
8
|
+
overflow-y: hidden;
|
|
9
|
+
overscroll-behavior: contain;
|
|
10
|
+
z-index: 999;
|
|
11
|
+
|
|
12
|
+
&:not(dialog:not([popover]:popover-open)),
|
|
13
|
+
&::backdrop {
|
|
14
|
+
@apply opacity-100 starting:invisible starting:opacity-0 bg-neutral-950/25 dark:bg-neutral-950/50;
|
|
15
|
+
transition:
|
|
16
|
+
display 0.3s ease-out allow-discrete,
|
|
17
|
+
opacity 0.3s ease-out,
|
|
18
|
+
visibility 0.3s ease-out allow-discrete;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&[popover]:popover-open {
|
|
22
|
+
@apply pointer-events-auto visible opacity-100 starting:invisible starting:opacity-0;
|
|
23
|
+
|
|
24
|
+
.dialog-body {
|
|
25
|
+
translate: 0 0;
|
|
26
|
+
scale: 1;
|
|
27
|
+
opacity: 1;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@utility dialog-backdrop {
|
|
33
|
+
@apply col-start-1 row-start-1 grid self-stretch justify-self-stretch text-transparent;
|
|
34
|
+
z-index: -1;
|
|
35
|
+
|
|
36
|
+
button {
|
|
37
|
+
@apply cursor-pointer;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@utility dialog-body {
|
|
42
|
+
@apply bg-white rounded-2xl ring shadow-lg ring-neutral-500/10 forced-colors:outline col-start-1 row-start-1 max-h-screen w-11/12 max-w-[32rem] p-4;
|
|
43
|
+
transition:
|
|
44
|
+
translate 0.3s ease-out,
|
|
45
|
+
scale 0.3s ease-out,
|
|
46
|
+
opacity 0.2s ease-out 0.05s,
|
|
47
|
+
box-shadow 0.3s ease-out;
|
|
48
|
+
scale: 95%;
|
|
49
|
+
opacity: 0;
|
|
50
|
+
overflow-y: auto;
|
|
51
|
+
overscroll-behavior: contain;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@utility dialog-top {
|
|
55
|
+
@apply place-items-start;
|
|
56
|
+
|
|
57
|
+
:where(.dialog-body) {
|
|
58
|
+
@apply h-auto w-full max-w-none rounded-none;
|
|
59
|
+
max-height: calc(100vh - 5em);
|
|
60
|
+
translate: 0 -100%;
|
|
61
|
+
scale: 1;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@utility dialog-middle {
|
|
66
|
+
@apply place-items-center;
|
|
67
|
+
|
|
68
|
+
:where(.dialog-body) {
|
|
69
|
+
@apply h-auto w-11/12 max-w-[32rem];
|
|
70
|
+
max-height: calc(100vh - 5em);
|
|
71
|
+
translate: 0 2%;
|
|
72
|
+
scale: 98%;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@utility dialog-bottom {
|
|
77
|
+
@apply place-items-end;
|
|
78
|
+
|
|
79
|
+
:where(.dialog-body) {
|
|
80
|
+
@apply h-auto w-full max-w-none rounded-none;
|
|
81
|
+
max-height: calc(100vh - 5em);
|
|
82
|
+
translate: 0 100%;
|
|
83
|
+
scale: 1;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@utility dialog-start {
|
|
88
|
+
@apply place-items-start;
|
|
89
|
+
|
|
90
|
+
:where(.dialog-body) {
|
|
91
|
+
@apply h-screen max-h-none w-auto max-w-none rounded-none;
|
|
92
|
+
translate: -100% 0;
|
|
93
|
+
scale: 1;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@utility dialog-end {
|
|
98
|
+
@apply place-items-end;
|
|
99
|
+
|
|
100
|
+
:where(.dialog-body) {
|
|
101
|
+
@apply h-screen max-h-none w-auto max-w-none rounded-none;
|
|
102
|
+
translate: 100% 0;
|
|
103
|
+
scale: 1;
|
|
104
|
+
}
|
|
105
|
+
}
|
package/src/main.css
ADDED
package/src/main.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./main.css"
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--neutral-color: oklch(14% .005 285.823);
|
|
3
|
+
--neutral-content-color: #fff;
|
|
4
|
+
|
|
5
|
+
--primary-color: oklch(0.546 0.245 262.881);
|
|
6
|
+
--primary-content-color: oklch(0.95 0.02 262.881);
|
|
7
|
+
|
|
8
|
+
--secondary-color: oklch(37.69% 0.1347 323.76);
|
|
9
|
+
--secondary-content-color: oklch(100% 0 0);
|
|
10
|
+
|
|
11
|
+
--accent-color: oklch(0.6 0.3 262.881);
|
|
12
|
+
--accent-content-color: oklch(0.98 0.03 262.881);
|
|
13
|
+
|
|
14
|
+
--info-color: oklch(0.65 0.2 230);
|
|
15
|
+
--info-content-color: oklch(0.98 0.02 230);
|
|
16
|
+
|
|
17
|
+
--success-color: oklch(0.6 0.22 150);
|
|
18
|
+
--success-content-color: oklch(0.98 0.02 150);
|
|
19
|
+
|
|
20
|
+
--warning-color: oklch(77.2% 0.1738 64.55);
|
|
21
|
+
--warning-content-color: oklch(0% 0 0);
|
|
22
|
+
|
|
23
|
+
--error-color: oklch(0.6 0.25 30);
|
|
24
|
+
--error-content-color: oklch(0.98 0.02 30);
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-theme="dark"] {
|
|
29
|
+
--primary-color: oklch(.546 .245 262.881);
|
|
30
|
+
--primary-content-color: #fff;
|
|
31
|
+
|
|
32
|
+
--secondary-color: oklch(.546 .245 262.881);
|
|
33
|
+
--secondary-content-color: #fff;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@theme inline {
|
|
37
|
+
--color-neutral: var(--neutral-color);
|
|
38
|
+
--color-neutral-content: var(--neutral-content-color);
|
|
39
|
+
|
|
40
|
+
--color-primary: var(--primary-color);
|
|
41
|
+
--color-primary-content: var(--primary-content-color);
|
|
42
|
+
|
|
43
|
+
--color-secondary: var(--secondary-color);
|
|
44
|
+
--color-secondary-content: var(--secondary-content-color);
|
|
45
|
+
|
|
46
|
+
--color-accent: var(--accent-color);
|
|
47
|
+
--color-accent-content: var(--accent-content-color);
|
|
48
|
+
|
|
49
|
+
--color-info: var(--info-color);
|
|
50
|
+
--color-info-content: var(--info-content-color);
|
|
51
|
+
|
|
52
|
+
--color-success: var(--success-color);
|
|
53
|
+
--color-success-content: var(--success-content-color);
|
|
54
|
+
|
|
55
|
+
--color-warning: var(--warning-color);
|
|
56
|
+
--color-warning-content: var(--warning-content-color);
|
|
57
|
+
|
|
58
|
+
--color-error: var(--error-color);
|
|
59
|
+
--color-error-content: var(--error-content-color);
|
|
60
|
+
}
|