periplo-ui 1.1.2 → 1.1.3
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/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/Button/Button.test.d.ts +0 -1
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +191 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/lib/plugin.d.ts +0 -1
- package/dist/lib/plugin.test.d.ts +0 -1
- package/dist/lib/utils.d.ts +0 -1
- package/package.json +6 -5
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/Button.stories.d.ts.map +0 -1
- package/dist/components/Button/Button.test.d.ts.map +0 -1
- package/dist/components/Button/index.d.ts.map +0 -1
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.cjs10.js +0 -2
- package/dist/index.cjs10.js.map +0 -1
- package/dist/index.cjs11.js +0 -2
- package/dist/index.cjs11.js.map +0 -1
- package/dist/index.cjs2.js +0 -2
- package/dist/index.cjs2.js.map +0 -1
- package/dist/index.cjs3.js +0 -2
- package/dist/index.cjs3.js.map +0 -1
- package/dist/index.cjs4.js +0 -2
- package/dist/index.cjs4.js.map +0 -1
- package/dist/index.cjs5.js +0 -2
- package/dist/index.cjs5.js.map +0 -1
- package/dist/index.cjs6.js +0 -2
- package/dist/index.cjs6.js.map +0 -1
- package/dist/index.cjs7.js +0 -2
- package/dist/index.cjs7.js.map +0 -1
- package/dist/index.cjs8.js +0 -2
- package/dist/index.cjs8.js.map +0 -1
- package/dist/index.cjs9.js +0 -2
- package/dist/index.cjs9.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.es10.js +0 -29
- package/dist/index.es10.js.map +0 -1
- package/dist/index.es11.js +0 -5
- package/dist/index.es11.js.map +0 -1
- package/dist/index.es2.js +0 -5
- package/dist/index.es2.js.map +0 -1
- package/dist/index.es3.js +0 -40
- package/dist/index.es3.js.map +0 -1
- package/dist/index.es4.js +0 -103
- package/dist/index.es4.js.map +0 -1
- package/dist/index.es5.js +0 -10
- package/dist/index.es5.js.map +0 -1
- package/dist/index.es6.js +0 -9
- package/dist/index.es6.js.map +0 -1
- package/dist/index.es7.js +0 -7
- package/dist/index.es7.js.map +0 -1
- package/dist/index.es8.js +0 -21
- package/dist/index.es8.js.map +0 -1
- package/dist/index.es9.js +0 -5
- package/dist/index.es9.js.map +0 -1
- package/dist/lib/plugin.d.ts.map +0 -1
- package/dist/lib/plugin.test.d.ts.map +0 -1
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/manifest.json +0 -75
|
@@ -3,10 +3,9 @@ import * as React from 'react';
|
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
}
|
|
10
10
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export { Button, buttonVariants };
|
|
12
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { StoryObj } from '@storybook/react';
|
|
2
3
|
declare const meta: {
|
|
3
4
|
component: import("react").ForwardRefExoticComponent<import("./Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -15,4 +16,3 @@ export declare const Ghost: Story;
|
|
|
15
16
|
export declare const Secondary: Story;
|
|
16
17
|
export declare const Destructive: Story;
|
|
17
18
|
export declare const Link: Story;
|
|
18
|
-
//# sourceMappingURL=Button.stories.d.ts.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,194 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { Slot as l } from "@radix-ui/react-slot";
|
|
2
|
+
import { cva as s } from "class-variance-authority";
|
|
3
|
+
import * as c from "react";
|
|
4
|
+
import { clsx as b } from "clsx";
|
|
5
|
+
import { twMerge as g } from "tailwind-merge";
|
|
6
|
+
function p(...e) {
|
|
7
|
+
return g(b(e));
|
|
8
|
+
}
|
|
9
|
+
const m = s(
|
|
10
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
11
|
+
{
|
|
12
|
+
variants: {
|
|
13
|
+
variant: {
|
|
14
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
15
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
16
|
+
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
17
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
18
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
19
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
20
|
+
},
|
|
21
|
+
size: {
|
|
22
|
+
default: "h-10 px-4 py-2",
|
|
23
|
+
sm: "h-9 rounded-md px-3",
|
|
24
|
+
lg: "h-11 rounded-md px-8",
|
|
25
|
+
icon: "h-10 w-10"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
defaultVariants: {
|
|
29
|
+
variant: "default",
|
|
30
|
+
size: "default"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
), v = c.forwardRef(
|
|
34
|
+
({ className: e, variant: n, size: o, asChild: t = !1, ...r }, f) => {
|
|
35
|
+
const u = t ? l : "button";
|
|
36
|
+
return /* @__PURE__ */ c.createElement(u, { className: p(m({ variant: n, size: o, className: e })), ref: f, ...r });
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
v.displayName = "Button";
|
|
40
|
+
function F(e) {
|
|
41
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
42
|
+
}
|
|
43
|
+
var d = {}, i = {};
|
|
44
|
+
(function(e) {
|
|
45
|
+
Object.defineProperty(e, "__esModule", {
|
|
46
|
+
value: !0
|
|
47
|
+
}), Object.defineProperty(e, "default", {
|
|
48
|
+
enumerable: !0,
|
|
49
|
+
get: function() {
|
|
50
|
+
return o;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
function n(t, r) {
|
|
54
|
+
return {
|
|
55
|
+
handler: t,
|
|
56
|
+
config: r
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
n.withOptions = function(t, r = () => ({})) {
|
|
60
|
+
const f = function(u) {
|
|
61
|
+
return {
|
|
62
|
+
__options: u,
|
|
63
|
+
handler: t(u),
|
|
64
|
+
config: r(u)
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
return f.__isOptionsFunction = !0, f.__pluginFunction = t, f.__configFunction = r, f;
|
|
68
|
+
};
|
|
69
|
+
const o = n;
|
|
70
|
+
})(i);
|
|
71
|
+
(function(e) {
|
|
72
|
+
Object.defineProperty(e, "__esModule", {
|
|
73
|
+
value: !0
|
|
74
|
+
}), Object.defineProperty(e, "default", {
|
|
75
|
+
enumerable: !0,
|
|
76
|
+
get: function() {
|
|
77
|
+
return t;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
const n = /* @__PURE__ */ o(i);
|
|
81
|
+
function o(r) {
|
|
82
|
+
return r && r.__esModule ? r : {
|
|
83
|
+
default: r
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
const t = n.default;
|
|
87
|
+
})(d);
|
|
88
|
+
let a = d;
|
|
89
|
+
var _ = (a.__esModule ? a : { default: a }).default;
|
|
90
|
+
const h = /* @__PURE__ */ F(_);
|
|
91
|
+
function y() {
|
|
92
|
+
return !0;
|
|
93
|
+
}
|
|
94
|
+
function E() {
|
|
95
|
+
return h(y, {
|
|
96
|
+
theme: {
|
|
97
|
+
extend: {
|
|
98
|
+
colors: {
|
|
99
|
+
background: "#FFFFFF",
|
|
100
|
+
foreground: "#0c0c0c",
|
|
101
|
+
card: "#FFFFFF",
|
|
102
|
+
"card-foreground": "#0c0c0c",
|
|
103
|
+
popover: "#FFFFFF",
|
|
104
|
+
"popover-foreground": "#0c0c0c",
|
|
105
|
+
primary: {
|
|
106
|
+
50: "#fffaeb",
|
|
107
|
+
100: "#fdf0c8",
|
|
108
|
+
200: "#fbe08c",
|
|
109
|
+
300: "#f9c950",
|
|
110
|
+
400: "#f7b429",
|
|
111
|
+
500: "#f1930f",
|
|
112
|
+
600: "#d56e0a",
|
|
113
|
+
700: "#b14b0c",
|
|
114
|
+
800: "#903b10",
|
|
115
|
+
900: "#763111",
|
|
116
|
+
950: "#441704",
|
|
117
|
+
DEFAULT: "#f7b429",
|
|
118
|
+
foreground: "#fafaf9"
|
|
119
|
+
},
|
|
120
|
+
secondary: {
|
|
121
|
+
50: "#eff6ff",
|
|
122
|
+
100: "#dceafd",
|
|
123
|
+
200: "#c1dbfc",
|
|
124
|
+
300: "#96c4fa",
|
|
125
|
+
400: "#5fa1f5",
|
|
126
|
+
500: "#4182f0",
|
|
127
|
+
600: "#2b64e5",
|
|
128
|
+
700: "#2350d2",
|
|
129
|
+
800: "#2241ab",
|
|
130
|
+
900: "#213b87",
|
|
131
|
+
950: "#192652",
|
|
132
|
+
DEFAULT: "#5fa1f5",
|
|
133
|
+
foreground: "#191e1a"
|
|
134
|
+
},
|
|
135
|
+
muted: {
|
|
136
|
+
50: "#eff6ff",
|
|
137
|
+
100: "#dceafd",
|
|
138
|
+
200: "#c1dbfc",
|
|
139
|
+
300: "#96c4fa",
|
|
140
|
+
400: "#5fa1f5",
|
|
141
|
+
500: "#4182f0",
|
|
142
|
+
600: "#2b64e5",
|
|
143
|
+
700: "#2350d2",
|
|
144
|
+
800: "#2241ab",
|
|
145
|
+
900: "#213b87",
|
|
146
|
+
950: "#192652",
|
|
147
|
+
DEFAULT: "#5fa1f5",
|
|
148
|
+
foreground: "#2d2f2b"
|
|
149
|
+
},
|
|
150
|
+
accent: {
|
|
151
|
+
50: "#eff6ff",
|
|
152
|
+
100: "#dceafd",
|
|
153
|
+
200: "#c1dbfc",
|
|
154
|
+
300: "#96c4fa",
|
|
155
|
+
400: "#5fa1f5",
|
|
156
|
+
500: "#4182f0",
|
|
157
|
+
600: "#2b64e5",
|
|
158
|
+
700: "#2350d2",
|
|
159
|
+
800: "#2241ab",
|
|
160
|
+
900: "#213b87",
|
|
161
|
+
950: "#192652",
|
|
162
|
+
DEFAULT: "#5fa1f5",
|
|
163
|
+
foreground: "#191e1a"
|
|
164
|
+
},
|
|
165
|
+
destructive: {
|
|
166
|
+
50: "#fdf2f8",
|
|
167
|
+
100: "#fde6f4",
|
|
168
|
+
200: "#fcceea",
|
|
169
|
+
300: "#fba6d7",
|
|
170
|
+
400: "#f86ebb",
|
|
171
|
+
500: "#f143a0",
|
|
172
|
+
600: "#d61e77",
|
|
173
|
+
700: "#c31363",
|
|
174
|
+
800: "#a11352",
|
|
175
|
+
900: "#861546",
|
|
176
|
+
950: "#520527",
|
|
177
|
+
DEFAULT: "#d61e77",
|
|
178
|
+
foreground: "#f0f0f0"
|
|
179
|
+
},
|
|
180
|
+
border: "#e6e6e6",
|
|
181
|
+
input: "#e6e6e6",
|
|
182
|
+
ring: "#f7b429"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
}
|
|
4
188
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
189
|
+
v as Button,
|
|
190
|
+
m as buttonVariants,
|
|
191
|
+
y as handler,
|
|
192
|
+
E as periploTheme
|
|
9
193
|
};
|
|
10
194
|
//# sourceMappingURL=index.es.js.map
|
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../src/lib/utils.ts","../src/components/Button/Button.tsx","../node_modules/tailwindcss/lib/util/createPlugin.js","../node_modules/tailwindcss/lib/public/create-plugin.js","../node_modules/tailwindcss/plugin.js","../src/lib/plugin.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: Array<ClassValue>) {\n return twMerge(clsx(inputs))\n}\n","import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button'\n return <Comp className={cn(buttonVariants({ variant, size, className }))} ref={ref} {...props} />\n },\n)\nButton.displayName = 'Button'\n\nexport { Button, buttonVariants }\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nfunction createPlugin(plugin, config) {\n return {\n handler: plugin,\n config\n };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n const optionsFunction = function(options) {\n return {\n __options: options,\n handler: pluginFunction(options),\n config: configFunction(options)\n };\n };\n optionsFunction.__isOptionsFunction = true;\n // Expose plugin dependencies so that `object-hash` returns a different\n // value if anything here changes, to ensure a rebuild is triggered.\n optionsFunction.__pluginFunction = pluginFunction;\n optionsFunction.__configFunction = configFunction;\n return optionsFunction;\n};\nconst _default = createPlugin;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nconst _default = _createPlugin.default;\n","let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n","import plugin from 'tailwindcss/plugin'\n\nexport function handler() {\n return true\n}\n\nexport function periploTheme() {\n return plugin(handler, {\n theme: {\n extend: {\n colors: {\n background: '#FFFFFF',\n foreground: '#0c0c0c',\n card: '#FFFFFF',\n 'card-foreground': '#0c0c0c',\n popover: '#FFFFFF',\n 'popover-foreground': '#0c0c0c',\n primary: {\n '50': '#fffaeb',\n '100': '#fdf0c8',\n '200': '#fbe08c',\n '300': '#f9c950',\n '400': '#f7b429',\n '500': '#f1930f',\n '600': '#d56e0a',\n '700': '#b14b0c',\n '800': '#903b10',\n '900': '#763111',\n '950': '#441704',\n DEFAULT: '#f7b429',\n foreground: '#fafaf9',\n },\n secondary: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#191e1a',\n },\n muted: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#2d2f2b',\n },\n accent: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#191e1a',\n },\n destructive: {\n '50': '#fdf2f8',\n '100': '#fde6f4',\n '200': '#fcceea',\n '300': '#fba6d7',\n '400': '#f86ebb',\n '500': '#f143a0',\n '600': '#d61e77',\n '700': '#c31363',\n '800': '#a11352',\n '900': '#861546',\n '950': '#520527',\n DEFAULT: '#d61e77',\n foreground: '#f0f0f0',\n },\n border: '#e6e6e6',\n input: '#e6e6e6',\n ring: '#f7b429',\n },\n },\n },\n })\n}\n"],"names":["cn","inputs","twMerge","clsx","buttonVariants","cva","Button","React","className","variant","size","asChild","props","ref","Comp","Slot","exports","_default","createPlugin","plugin","config","pluginFunction","configFunction","optionsFunction","options","_createPlugin","_interop_require_default","require$$0","obj","handler","periploTheme"],"mappings":"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","x_google_ignoreList":[2,3,4]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(t,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("@radix-ui/react-slot"),require("class-variance-authority"),require("react"),require("clsx"),require("tailwind-merge")):typeof define=="function"&&define.amd?define(["exports","@radix-ui/react-slot","class-variance-authority","react","clsx","tailwind-merge"],a):(t=typeof globalThis<"u"?globalThis:t||self,a(t.PeriploUi={},t.RadixTooltip,t.ClassVarianceAuthority,t.React,t.clsx,t.tailwindMerge))})(this,function(t,a,m,v,y,h){"use strict";function _(e){const f=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(f,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return f.default=e,Object.freeze(f)}const d=_(v);function F(...e){return h.twMerge(y.clsx(e))}const s=m.cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=d.forwardRef(({className:e,variant:f,size:o,asChild:r=!1,...n},u)=>{const c=r?a.Slot:"button";return d.createElement(c,{className:F(s({variant:f,size:o,className:e})),ref:u,...n})});l.displayName="Button";function O(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var b={},g={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});function f(r,n){return{handler:r,config:n}}f.withOptions=function(r,n=()=>({})){const u=function(c){return{__options:c,handler:r(c),config:n(c)}};return u.__isOptionsFunction=!0,u.__pluginFunction=r,u.__configFunction=n,u};const o=f})(g),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});const f=o(g);function o(n){return n&&n.__esModule?n:{default:n}}const r=f.default}(b);let i=b;var P=(i.__esModule?i:{default:i}).default;const x=O(P);function p(){return!0}function T(){return x(p,{theme:{extend:{colors:{background:"#FFFFFF",foreground:"#0c0c0c",card:"#FFFFFF","card-foreground":"#0c0c0c",popover:"#FFFFFF","popover-foreground":"#0c0c0c",primary:{50:"#fffaeb",100:"#fdf0c8",200:"#fbe08c",300:"#f9c950",400:"#f7b429",500:"#f1930f",600:"#d56e0a",700:"#b14b0c",800:"#903b10",900:"#763111",950:"#441704",DEFAULT:"#f7b429",foreground:"#fafaf9"},secondary:{50:"#eff6ff",100:"#dceafd",200:"#c1dbfc",300:"#96c4fa",400:"#5fa1f5",500:"#4182f0",600:"#2b64e5",700:"#2350d2",800:"#2241ab",900:"#213b87",950:"#192652",DEFAULT:"#5fa1f5",foreground:"#191e1a"},muted:{50:"#eff6ff",100:"#dceafd",200:"#c1dbfc",300:"#96c4fa",400:"#5fa1f5",500:"#4182f0",600:"#2b64e5",700:"#2350d2",800:"#2241ab",900:"#213b87",950:"#192652",DEFAULT:"#5fa1f5",foreground:"#2d2f2b"},accent:{50:"#eff6ff",100:"#dceafd",200:"#c1dbfc",300:"#96c4fa",400:"#5fa1f5",500:"#4182f0",600:"#2b64e5",700:"#2350d2",800:"#2241ab",900:"#213b87",950:"#192652",DEFAULT:"#5fa1f5",foreground:"#191e1a"},destructive:{50:"#fdf2f8",100:"#fde6f4",200:"#fcceea",300:"#fba6d7",400:"#f86ebb",500:"#f143a0",600:"#d61e77",700:"#c31363",800:"#a11352",900:"#861546",950:"#520527",DEFAULT:"#d61e77",foreground:"#f0f0f0"},border:"#e6e6e6",input:"#e6e6e6",ring:"#f7b429"}}}})}t.Button=l,t.buttonVariants=s,t.handler=p,t.periploTheme=T,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
|
2
|
+
//# sourceMappingURL=index.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/lib/utils.ts","../src/components/Button/Button.tsx","../node_modules/tailwindcss/lib/util/createPlugin.js","../node_modules/tailwindcss/lib/public/create-plugin.js","../node_modules/tailwindcss/plugin.js","../src/lib/plugin.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: Array<ClassValue>) {\n return twMerge(clsx(inputs))\n}\n","import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button'\n return <Comp className={cn(buttonVariants({ variant, size, className }))} ref={ref} {...props} />\n },\n)\nButton.displayName = 'Button'\n\nexport { Button, buttonVariants }\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nfunction createPlugin(plugin, config) {\n return {\n handler: plugin,\n config\n };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n const optionsFunction = function(options) {\n return {\n __options: options,\n handler: pluginFunction(options),\n config: configFunction(options)\n };\n };\n optionsFunction.__isOptionsFunction = true;\n // Expose plugin dependencies so that `object-hash` returns a different\n // value if anything here changes, to ensure a rebuild is triggered.\n optionsFunction.__pluginFunction = pluginFunction;\n optionsFunction.__configFunction = configFunction;\n return optionsFunction;\n};\nconst _default = createPlugin;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nconst _default = _createPlugin.default;\n","let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n","import plugin from 'tailwindcss/plugin'\n\nexport function handler() {\n return true\n}\n\nexport function periploTheme() {\n return plugin(handler, {\n theme: {\n extend: {\n colors: {\n background: '#FFFFFF',\n foreground: '#0c0c0c',\n card: '#FFFFFF',\n 'card-foreground': '#0c0c0c',\n popover: '#FFFFFF',\n 'popover-foreground': '#0c0c0c',\n primary: {\n '50': '#fffaeb',\n '100': '#fdf0c8',\n '200': '#fbe08c',\n '300': '#f9c950',\n '400': '#f7b429',\n '500': '#f1930f',\n '600': '#d56e0a',\n '700': '#b14b0c',\n '800': '#903b10',\n '900': '#763111',\n '950': '#441704',\n DEFAULT: '#f7b429',\n foreground: '#fafaf9',\n },\n secondary: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#191e1a',\n },\n muted: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#2d2f2b',\n },\n accent: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#191e1a',\n },\n destructive: {\n '50': '#fdf2f8',\n '100': '#fde6f4',\n '200': '#fcceea',\n '300': '#fba6d7',\n '400': '#f86ebb',\n '500': '#f143a0',\n '600': '#d61e77',\n '700': '#c31363',\n '800': '#a11352',\n '900': '#861546',\n '950': '#520527',\n DEFAULT: '#d61e77',\n foreground: '#f0f0f0',\n },\n border: '#e6e6e6',\n input: '#e6e6e6',\n ring: '#f7b429',\n },\n },\n },\n })\n}\n"],"names":["cn","inputs","twMerge","clsx","buttonVariants","cva","Button","React","className","variant","size","asChild","props","ref","Comp","Slot","exports","_default","createPlugin","plugin","config","pluginFunction","configFunction","optionsFunction","options","_createPlugin","_interop_require_default","require$$0","obj","handler","periploTheme"],"mappings":"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","x_google_ignoreList":[2,3,4]}
|
package/dist/lib/plugin.d.ts
CHANGED
package/dist/lib/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
"name": "periplo-ui",
|
|
3
3
|
"description": "IATI UI library",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.3",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"main": "
|
|
8
|
-
"module": "
|
|
9
|
-
"types": "
|
|
7
|
+
"main": "dist/index.umd.js",
|
|
8
|
+
"module": "dist/index.es.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"sideEffects": false,
|
|
10
11
|
"scripts": {
|
|
11
12
|
"build": "tsc && vite build",
|
|
12
13
|
"dev": "storybook dev -p 6006",
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
"storybook": "7.6.12",
|
|
72
73
|
"tailwindcss": "3.4.1",
|
|
73
74
|
"typescript": "5.3.3",
|
|
74
|
-
"vite": "
|
|
75
|
+
"vite": "5.0.12",
|
|
75
76
|
"vite-plugin-dts": "3.7.2",
|
|
76
77
|
"vitest": "1.2.2"
|
|
77
78
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,cAAc;;;mFAwBnB,CAAA;AAED,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,uFAKX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAKtD,QAAA,MAAM,IAAI;;;;;;;CAOqB,CAAA;AAE/B,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.test.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
package/dist/index.cjs.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.cjs2.js");const e=require("./index.cjs3.js"),t=require("./index.cjs4.js");exports.Button=e.Button;exports.buttonVariants=e.buttonVariants;exports.handler=t.handler;exports.periploTheme=t.periploTheme;
|
|
2
|
-
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.cjs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs10.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./index.cjs11.js");(function(u){Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"default",{enumerable:!0,get:function(){return c}});function i(e,n){return{handler:e,config:n}}i.withOptions=function(e,n=()=>({})){const t=function(r){return{__options:r,handler:e(r),config:n(r)}};return t.__isOptionsFunction=!0,t.__pluginFunction=e,t.__configFunction=n,t};const c=i})(o.__exports);
|
|
2
|
-
//# sourceMappingURL=index.cjs10.js.map
|
package/dist/index.cjs10.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs10.js","sources":["../node_modules/tailwindcss/lib/util/createPlugin.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nfunction createPlugin(plugin, config) {\n return {\n handler: plugin,\n config\n };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n const optionsFunction = function(options) {\n return {\n __options: options,\n handler: pluginFunction(options),\n config: configFunction(options)\n };\n };\n optionsFunction.__isOptionsFunction = true;\n // Expose plugin dependencies so that `object-hash` returns a different\n // value if anything here changes, to ensure a rebuild is triggered.\n optionsFunction.__pluginFunction = pluginFunction;\n optionsFunction.__configFunction = configFunction;\n return optionsFunction;\n};\nconst _default = createPlugin;\n"],"names":["exports","_default","createPlugin","plugin","config","pluginFunction","configFunction","optionsFunction","options"],"mappings":"8DACA,OAAO,eAAwBA,EAAA,aAAc,CACzC,MAAO,EACX,CAAC,EACD,OAAO,eAAeA,EAAS,UAAW,CACtC,WAAY,GACZ,IAAK,UAAW,CACZ,OAAOC,CACV,CACL,CAAC,EACD,SAASC,EAAaC,EAAQC,EAAQ,CAClC,MAAO,CACH,QAASD,EACT,OAAAC,CACR,CACC,CACDF,EAAa,YAAc,SAASG,EAAgBC,EAAiB,KAAK,CAAE,GAAG,CAC3E,MAAMC,EAAkB,SAASC,EAAS,CACtC,MAAO,CACH,UAAWA,EACX,QAASH,EAAeG,CAAO,EAC/B,OAAQF,EAAeE,CAAO,CAC1C,CACA,EACI,OAAAD,EAAgB,oBAAsB,GAGtCA,EAAgB,iBAAmBF,EACnCE,EAAgB,iBAAmBD,EAC5BC,CACX,EACA,MAAMN,EAAWC","x_google_ignoreList":[0]}
|
package/dist/index.cjs11.js
DELETED
package/dist/index.cjs11.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs11.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs2.js
DELETED
package/dist/index.cjs2.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs3.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("@radix-ui/react-slot"),l=require("class-variance-authority"),f=require("react"),b=require("./index.cjs6.js");function g(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=g(f),i=l.cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),a=o.forwardRef(({className:e,variant:r,size:t,asChild:n=!1,...c},s)=>{const u=n?d.Slot:"button";return o.createElement(u,{className:b.cn(i({variant:r,size:t,className:e})),ref:s,...c})});a.displayName="Button";exports.Button=a;exports.buttonVariants=i;
|
|
2
|
-
//# sourceMappingURL=index.cjs3.js.map
|
package/dist/index.cjs3.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs3.js","sources":["../src/components/Button/Button.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button'\n return <Comp className={cn(buttonVariants({ variant, size, className }))} ref={ref} {...props} />\n },\n)\nButton.displayName = 'Button'\n\nexport { Button, buttonVariants }\n"],"names":["buttonVariants","cva","Button","React","className","variant","size","asChild","props","ref","Comp","Slot","cn"],"mappings":"weAMMA,EAAiBC,EAAA,IACrB,yRACA,CACE,SAAU,CACR,QAAS,CACP,QAAS,yDACT,YAAa,qEACb,QAAS,iFACT,UAAW,+DACX,MAAO,+CACP,KAAM,iDACR,EACA,KAAM,CACJ,QAAS,iBACT,GAAI,sBACJ,GAAI,uBACJ,KAAM,WACR,CACF,EACA,gBAAiB,CACf,QAAS,UACT,KAAM,SACR,CACF,CACF,EAQMC,EAASC,EAAM,WACnB,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,KAAAC,EAAM,QAAAC,EAAU,GAAO,GAAGC,CAAM,EAAGC,IAAQ,CAC1D,MAAAC,EAAOH,EAAUI,EAAO,KAAA,SAC9B,OAAQR,EAAA,cAAAO,EAAA,CAAK,UAAWE,EAAA,GAAGZ,EAAe,CAAE,QAAAK,EAAS,KAAAC,EAAM,UAAAF,CAAA,CAAW,CAAC,EAAG,IAAAK,EAAW,GAAGD,CAAO,CAAA,CACjG,CACF,EACAN,EAAO,YAAc"}
|
package/dist/index.cjs4.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs5.js");function f(){return!0}function r(){return e.default(f,{theme:{extend:{colors:{background:"#FFFFFF",foreground:"#0c0c0c",card:"#FFFFFF","card-foreground":"#0c0c0c",popover:"#FFFFFF","popover-foreground":"#0c0c0c",primary:{50:"#fffaeb",100:"#fdf0c8",200:"#fbe08c",300:"#f9c950",400:"#f7b429",500:"#f1930f",600:"#d56e0a",700:"#b14b0c",800:"#903b10",900:"#763111",950:"#441704",DEFAULT:"#f7b429",foreground:"#fafaf9"},secondary:{50:"#eff6ff",100:"#dceafd",200:"#c1dbfc",300:"#96c4fa",400:"#5fa1f5",500:"#4182f0",600:"#2b64e5",700:"#2350d2",800:"#2241ab",900:"#213b87",950:"#192652",DEFAULT:"#5fa1f5",foreground:"#191e1a"},muted:{50:"#eff6ff",100:"#dceafd",200:"#c1dbfc",300:"#96c4fa",400:"#5fa1f5",500:"#4182f0",600:"#2b64e5",700:"#2350d2",800:"#2241ab",900:"#213b87",950:"#192652",DEFAULT:"#5fa1f5",foreground:"#2d2f2b"},accent:{50:"#eff6ff",100:"#dceafd",200:"#c1dbfc",300:"#96c4fa",400:"#5fa1f5",500:"#4182f0",600:"#2b64e5",700:"#2350d2",800:"#2241ab",900:"#213b87",950:"#192652",DEFAULT:"#5fa1f5",foreground:"#191e1a"},destructive:{50:"#fdf2f8",100:"#fde6f4",200:"#fcceea",300:"#fba6d7",400:"#f86ebb",500:"#f143a0",600:"#d61e77",700:"#c31363",800:"#a11352",900:"#861546",950:"#520527",DEFAULT:"#d61e77",foreground:"#f0f0f0"},border:"#e6e6e6",input:"#e6e6e6",ring:"#f7b429"}}}})}exports.handler=f;exports.periploTheme=r;
|
|
2
|
-
//# sourceMappingURL=index.cjs4.js.map
|
package/dist/index.cjs4.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs4.js","sources":["../src/lib/plugin.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin'\n\nexport function handler() {\n return true\n}\n\nexport function periploTheme() {\n return plugin(handler, {\n theme: {\n extend: {\n colors: {\n background: '#FFFFFF',\n foreground: '#0c0c0c',\n card: '#FFFFFF',\n 'card-foreground': '#0c0c0c',\n popover: '#FFFFFF',\n 'popover-foreground': '#0c0c0c',\n primary: {\n '50': '#fffaeb',\n '100': '#fdf0c8',\n '200': '#fbe08c',\n '300': '#f9c950',\n '400': '#f7b429',\n '500': '#f1930f',\n '600': '#d56e0a',\n '700': '#b14b0c',\n '800': '#903b10',\n '900': '#763111',\n '950': '#441704',\n DEFAULT: '#f7b429',\n foreground: '#fafaf9',\n },\n secondary: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#191e1a',\n },\n muted: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#2d2f2b',\n },\n accent: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#191e1a',\n },\n destructive: {\n '50': '#fdf2f8',\n '100': '#fde6f4',\n '200': '#fcceea',\n '300': '#fba6d7',\n '400': '#f86ebb',\n '500': '#f143a0',\n '600': '#d61e77',\n '700': '#c31363',\n '800': '#a11352',\n '900': '#861546',\n '950': '#520527',\n DEFAULT: '#d61e77',\n foreground: '#f0f0f0',\n },\n border: '#e6e6e6',\n input: '#e6e6e6',\n ring: '#f7b429',\n },\n },\n },\n })\n}\n"],"names":["handler","periploTheme","plugin"],"mappings":"mHAEO,SAASA,GAAU,CACjB,MAAA,EACT,CAEO,SAASC,GAAe,CAC7B,OAAOC,EAAAA,QAAOF,EAAS,CACrB,MAAO,CACL,OAAQ,CACN,OAAQ,CACN,WAAY,UACZ,WAAY,UACZ,KAAM,UACN,kBAAmB,UACnB,QAAS,UACT,qBAAsB,UACtB,QAAS,CACP,GAAM,UACN,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,QAAS,UACT,WAAY,SACd,EACA,UAAW,CACT,GAAM,UACN,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,QAAS,UACT,WAAY,SACd,EACA,MAAO,CACL,GAAM,UACN,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,QAAS,UACT,WAAY,SACd,EACA,OAAQ,CACN,GAAM,UACN,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,QAAS,UACT,WAAY,SACd,EACA,YAAa,CACX,GAAM,UACN,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,IAAO,UACP,QAAS,UACT,WAAY,SACd,EACA,OAAQ,UACR,MAAO,UACP,KAAM,SACR,CACF,CACF,CAAA,CACD,CACH"}
|
package/dist/index.cjs5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.cjs7.js");require("./index.cjs8.js");const r=require("./index.cjs9.js");let e=r.__exports;var u=(e.__esModule?e:{default:e}).default;const l=t.getDefaultExportFromCjs(u);exports.default=l;
|
|
2
|
-
//# sourceMappingURL=index.cjs5.js.map
|
package/dist/index.cjs5.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs5.js","sources":["../node_modules/tailwindcss/plugin.js"],"sourcesContent":["let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n"],"names":["createPlugin","require$$0","plugin"],"mappings":"6MAAA,IAAIA,EAAeC,EAAqC,UACxD,IAAAC,GAAkBF,EAAa,WAAaA,EAAe,CAAE,QAASA,CAAY,GAAI","x_google_ignoreList":[0]}
|
package/dist/index.cjs6.js
DELETED
package/dist/index.cjs6.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs6.js","sources":["../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: Array<ClassValue>) {\n return twMerge(clsx(inputs))\n}\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":"oIAGO,SAASA,KAAMC,EAA2B,CACxC,OAAAC,UAAQC,EAAAA,KAAKF,CAAM,CAAC,CAC7B"}
|
package/dist/index.cjs7.js
DELETED
package/dist/index.cjs7.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs7.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs8.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const i=require("./index.cjs9.js");require("./index.cjs10.js");const c=require("./index.cjs11.js");(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=u(c.__exports);function u(e){return e&&e.__esModule?e:{default:e}}const n=r.default})(i.__exports);
|
|
2
|
-
//# sourceMappingURL=index.cjs8.js.map
|
package/dist/index.cjs8.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs8.js","sources":["../node_modules/tailwindcss/lib/public/create-plugin.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nconst _default = _createPlugin.default;\n"],"names":["exports","_default","_createPlugin","_interop_require_default","require$$0","obj"],"mappings":"6HACA,OAAO,eAAwBA,EAAA,aAAc,CACzC,MAAO,EACX,CAAC,EACD,OAAO,eAAeA,EAAS,UAAW,CACtC,WAAY,GACZ,IAAK,UAAW,CACZ,OAAOC,CACV,CACL,CAAC,EACD,MAAMC,EAA8BC,EAAyBC,EAAAA,SAA+B,EAC5F,SAASD,EAAyBE,EAAK,CACnC,OAAOA,GAAOA,EAAI,WAAaA,EAAM,CACjC,QAASA,CACjB,CACC,CACD,MAAMJ,EAAWC,EAAc","x_google_ignoreList":[0]}
|
package/dist/index.cjs9.js
DELETED
package/dist/index.cjs9.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9E,cAAc,cAAc,CAAA"}
|
package/dist/index.es10.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { __exports as c } from "./index.es11.js";
|
|
2
|
-
(function(u) {
|
|
3
|
-
Object.defineProperty(u, "__esModule", {
|
|
4
|
-
value: !0
|
|
5
|
-
}), Object.defineProperty(u, "default", {
|
|
6
|
-
enumerable: !0,
|
|
7
|
-
get: function() {
|
|
8
|
-
return o;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
function i(e, n) {
|
|
12
|
-
return {
|
|
13
|
-
handler: e,
|
|
14
|
-
config: n
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
i.withOptions = function(e, n = () => ({})) {
|
|
18
|
-
const t = function(r) {
|
|
19
|
-
return {
|
|
20
|
-
__options: r,
|
|
21
|
-
handler: e(r),
|
|
22
|
-
config: n(r)
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
return t.__isOptionsFunction = !0, t.__pluginFunction = e, t.__configFunction = n, t;
|
|
26
|
-
};
|
|
27
|
-
const o = i;
|
|
28
|
-
})(c);
|
|
29
|
-
//# sourceMappingURL=index.es10.js.map
|
package/dist/index.es10.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es10.js","sources":["../node_modules/tailwindcss/lib/util/createPlugin.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nfunction createPlugin(plugin, config) {\n return {\n handler: plugin,\n config\n };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n const optionsFunction = function(options) {\n return {\n __options: options,\n handler: pluginFunction(options),\n config: configFunction(options)\n };\n };\n optionsFunction.__isOptionsFunction = true;\n // Expose plugin dependencies so that `object-hash` returns a different\n // value if anything here changes, to ensure a rebuild is triggered.\n optionsFunction.__pluginFunction = pluginFunction;\n optionsFunction.__configFunction = configFunction;\n return optionsFunction;\n};\nconst _default = createPlugin;\n"],"names":["exports","_default","createPlugin","plugin","config","pluginFunction","configFunction","optionsFunction","options"],"mappings":";;AACA,SAAO,eAAwBA,GAAA,cAAc;AAAA,IACzC,OAAO;AAAA,EACX,CAAC,GACD,OAAO,eAAeA,GAAS,WAAW;AAAA,IACtC,YAAY;AAAA,IACZ,KAAK,WAAW;AACZ,aAAOC;AAAA,IACV;AAAA,EACL,CAAC;AACD,WAASC,EAAaC,GAAQC,GAAQ;AAClC,WAAO;AAAA,MACH,SAASD;AAAA,MACT,QAAAC;AAAA,IACR;AAAA,EACC;AACD,EAAAF,EAAa,cAAc,SAASG,GAAgBC,IAAiB,OAAK,CAAE,IAAG;AAC3E,UAAMC,IAAkB,SAASC,GAAS;AACtC,aAAO;AAAA,QACH,WAAWA;AAAA,QACX,SAASH,EAAeG,CAAO;AAAA,QAC/B,QAAQF,EAAeE,CAAO;AAAA,MAC1C;AAAA,IACA;AACI,WAAAD,EAAgB,sBAAsB,IAGtCA,EAAgB,mBAAmBF,GACnCE,EAAgB,mBAAmBD,GAC5BC;AAAA,EACX;AACA,QAAMN,IAAWC;;","x_google_ignoreList":[0]}
|
package/dist/index.es11.js
DELETED
package/dist/index.es11.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es11.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.es2.js
DELETED
package/dist/index.es2.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.es3.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Slot as d } from "@radix-ui/react-slot";
|
|
2
|
-
import { cva as c } from "class-variance-authority";
|
|
3
|
-
import * as e from "react";
|
|
4
|
-
import { cn as u } from "./index.es6.js";
|
|
5
|
-
const f = c(
|
|
6
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
7
|
-
{
|
|
8
|
-
variants: {
|
|
9
|
-
variant: {
|
|
10
|
-
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
11
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
12
|
-
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
13
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
14
|
-
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
15
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
16
|
-
},
|
|
17
|
-
size: {
|
|
18
|
-
default: "h-10 px-4 py-2",
|
|
19
|
-
sm: "h-9 rounded-md px-3",
|
|
20
|
-
lg: "h-11 rounded-md px-8",
|
|
21
|
-
icon: "h-10 w-10"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
defaultVariants: {
|
|
25
|
-
variant: "default",
|
|
26
|
-
size: "default"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
), l = e.forwardRef(
|
|
30
|
-
({ className: r, variant: t, size: o, asChild: n = !1, ...i }, a) => {
|
|
31
|
-
const s = n ? d : "button";
|
|
32
|
-
return /* @__PURE__ */ e.createElement(s, { className: u(f({ variant: t, size: o, className: r })), ref: a, ...i });
|
|
33
|
-
}
|
|
34
|
-
);
|
|
35
|
-
l.displayName = "Button";
|
|
36
|
-
export {
|
|
37
|
-
l as Button,
|
|
38
|
-
f as buttonVariants
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=index.es3.js.map
|
package/dist/index.es3.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es3.js","sources":["../src/components/Button/Button.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button'\n return <Comp className={cn(buttonVariants({ variant, size, className }))} ref={ref} {...props} />\n },\n)\nButton.displayName = 'Button'\n\nexport { Button, buttonVariants }\n"],"names":["buttonVariants","cva","Button","React","className","variant","size","asChild","props","ref","Comp","Slot","cn"],"mappings":";;;;AAMA,MAAMA,IAAiBC;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,aAAa;AAAA,QACb,SAAS;AAAA,QACT,WAAW;AAAA,QACX,OAAO;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF,GAQMC,IAASC,EAAM;AAAA,EACnB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,SAAAC,IAAU,IAAO,GAAGC,EAAM,GAAGC,MAAQ;AAC1D,UAAAC,IAAOH,IAAUI,IAAO;AAC9B,WAAQ,gBAAAR,EAAA,cAAAO,GAAA,EAAK,WAAWE,EAAGZ,EAAe,EAAE,SAAAK,GAAS,MAAAC,GAAM,WAAAF,EAAA,CAAW,CAAC,GAAG,KAAAK,GAAW,GAAGD,EAAO,CAAA;AAAA,EACjG;AACF;AACAN,EAAO,cAAc;"}
|
package/dist/index.es4.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import f from "./index.es5.js";
|
|
2
|
-
function e() {
|
|
3
|
-
return !0;
|
|
4
|
-
}
|
|
5
|
-
function c() {
|
|
6
|
-
return f(e, {
|
|
7
|
-
theme: {
|
|
8
|
-
extend: {
|
|
9
|
-
colors: {
|
|
10
|
-
background: "#FFFFFF",
|
|
11
|
-
foreground: "#0c0c0c",
|
|
12
|
-
card: "#FFFFFF",
|
|
13
|
-
"card-foreground": "#0c0c0c",
|
|
14
|
-
popover: "#FFFFFF",
|
|
15
|
-
"popover-foreground": "#0c0c0c",
|
|
16
|
-
primary: {
|
|
17
|
-
50: "#fffaeb",
|
|
18
|
-
100: "#fdf0c8",
|
|
19
|
-
200: "#fbe08c",
|
|
20
|
-
300: "#f9c950",
|
|
21
|
-
400: "#f7b429",
|
|
22
|
-
500: "#f1930f",
|
|
23
|
-
600: "#d56e0a",
|
|
24
|
-
700: "#b14b0c",
|
|
25
|
-
800: "#903b10",
|
|
26
|
-
900: "#763111",
|
|
27
|
-
950: "#441704",
|
|
28
|
-
DEFAULT: "#f7b429",
|
|
29
|
-
foreground: "#fafaf9"
|
|
30
|
-
},
|
|
31
|
-
secondary: {
|
|
32
|
-
50: "#eff6ff",
|
|
33
|
-
100: "#dceafd",
|
|
34
|
-
200: "#c1dbfc",
|
|
35
|
-
300: "#96c4fa",
|
|
36
|
-
400: "#5fa1f5",
|
|
37
|
-
500: "#4182f0",
|
|
38
|
-
600: "#2b64e5",
|
|
39
|
-
700: "#2350d2",
|
|
40
|
-
800: "#2241ab",
|
|
41
|
-
900: "#213b87",
|
|
42
|
-
950: "#192652",
|
|
43
|
-
DEFAULT: "#5fa1f5",
|
|
44
|
-
foreground: "#191e1a"
|
|
45
|
-
},
|
|
46
|
-
muted: {
|
|
47
|
-
50: "#eff6ff",
|
|
48
|
-
100: "#dceafd",
|
|
49
|
-
200: "#c1dbfc",
|
|
50
|
-
300: "#96c4fa",
|
|
51
|
-
400: "#5fa1f5",
|
|
52
|
-
500: "#4182f0",
|
|
53
|
-
600: "#2b64e5",
|
|
54
|
-
700: "#2350d2",
|
|
55
|
-
800: "#2241ab",
|
|
56
|
-
900: "#213b87",
|
|
57
|
-
950: "#192652",
|
|
58
|
-
DEFAULT: "#5fa1f5",
|
|
59
|
-
foreground: "#2d2f2b"
|
|
60
|
-
},
|
|
61
|
-
accent: {
|
|
62
|
-
50: "#eff6ff",
|
|
63
|
-
100: "#dceafd",
|
|
64
|
-
200: "#c1dbfc",
|
|
65
|
-
300: "#96c4fa",
|
|
66
|
-
400: "#5fa1f5",
|
|
67
|
-
500: "#4182f0",
|
|
68
|
-
600: "#2b64e5",
|
|
69
|
-
700: "#2350d2",
|
|
70
|
-
800: "#2241ab",
|
|
71
|
-
900: "#213b87",
|
|
72
|
-
950: "#192652",
|
|
73
|
-
DEFAULT: "#5fa1f5",
|
|
74
|
-
foreground: "#191e1a"
|
|
75
|
-
},
|
|
76
|
-
destructive: {
|
|
77
|
-
50: "#fdf2f8",
|
|
78
|
-
100: "#fde6f4",
|
|
79
|
-
200: "#fcceea",
|
|
80
|
-
300: "#fba6d7",
|
|
81
|
-
400: "#f86ebb",
|
|
82
|
-
500: "#f143a0",
|
|
83
|
-
600: "#d61e77",
|
|
84
|
-
700: "#c31363",
|
|
85
|
-
800: "#a11352",
|
|
86
|
-
900: "#861546",
|
|
87
|
-
950: "#520527",
|
|
88
|
-
DEFAULT: "#d61e77",
|
|
89
|
-
foreground: "#f0f0f0"
|
|
90
|
-
},
|
|
91
|
-
border: "#e6e6e6",
|
|
92
|
-
input: "#e6e6e6",
|
|
93
|
-
ring: "#f7b429"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
export {
|
|
100
|
-
e as handler,
|
|
101
|
-
c as periploTheme
|
|
102
|
-
};
|
|
103
|
-
//# sourceMappingURL=index.es4.js.map
|
package/dist/index.es4.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es4.js","sources":["../src/lib/plugin.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin'\n\nexport function handler() {\n return true\n}\n\nexport function periploTheme() {\n return plugin(handler, {\n theme: {\n extend: {\n colors: {\n background: '#FFFFFF',\n foreground: '#0c0c0c',\n card: '#FFFFFF',\n 'card-foreground': '#0c0c0c',\n popover: '#FFFFFF',\n 'popover-foreground': '#0c0c0c',\n primary: {\n '50': '#fffaeb',\n '100': '#fdf0c8',\n '200': '#fbe08c',\n '300': '#f9c950',\n '400': '#f7b429',\n '500': '#f1930f',\n '600': '#d56e0a',\n '700': '#b14b0c',\n '800': '#903b10',\n '900': '#763111',\n '950': '#441704',\n DEFAULT: '#f7b429',\n foreground: '#fafaf9',\n },\n secondary: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#191e1a',\n },\n muted: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#2d2f2b',\n },\n accent: {\n '50': '#eff6ff',\n '100': '#dceafd',\n '200': '#c1dbfc',\n '300': '#96c4fa',\n '400': '#5fa1f5',\n '500': '#4182f0',\n '600': '#2b64e5',\n '700': '#2350d2',\n '800': '#2241ab',\n '900': '#213b87',\n '950': '#192652',\n DEFAULT: '#5fa1f5',\n foreground: '#191e1a',\n },\n destructive: {\n '50': '#fdf2f8',\n '100': '#fde6f4',\n '200': '#fcceea',\n '300': '#fba6d7',\n '400': '#f86ebb',\n '500': '#f143a0',\n '600': '#d61e77',\n '700': '#c31363',\n '800': '#a11352',\n '900': '#861546',\n '950': '#520527',\n DEFAULT: '#d61e77',\n foreground: '#f0f0f0',\n },\n border: '#e6e6e6',\n input: '#e6e6e6',\n ring: '#f7b429',\n },\n },\n },\n })\n}\n"],"names":["handler","periploTheme","plugin"],"mappings":";AAEO,SAASA,IAAU;AACjB,SAAA;AACT;AAEO,SAASC,IAAe;AAC7B,SAAOC,EAAOF,GAAS;AAAA,IACrB,OAAO;AAAA,MACL,QAAQ;AAAA,QACN,QAAQ;AAAA,UACN,YAAY;AAAA,UACZ,YAAY;AAAA,UACZ,MAAM;AAAA,UACN,mBAAmB;AAAA,UACnB,SAAS;AAAA,UACT,sBAAsB;AAAA,UACtB,SAAS;AAAA,YACP,IAAM;AAAA,YACN,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,SAAS;AAAA,YACT,YAAY;AAAA,UACd;AAAA,UACA,WAAW;AAAA,YACT,IAAM;AAAA,YACN,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,SAAS;AAAA,YACT,YAAY;AAAA,UACd;AAAA,UACA,OAAO;AAAA,YACL,IAAM;AAAA,YACN,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,SAAS;AAAA,YACT,YAAY;AAAA,UACd;AAAA,UACA,QAAQ;AAAA,YACN,IAAM;AAAA,YACN,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,SAAS;AAAA,YACT,YAAY;AAAA,UACd;AAAA,UACA,aAAa;AAAA,YACX,IAAM;AAAA,YACN,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,KAAO;AAAA,YACP,SAAS;AAAA,YACT,YAAY;AAAA,UACd;AAAA,UACA,QAAQ;AAAA,UACR,OAAO;AAAA,UACP,MAAM;AAAA,QACR;AAAA,MACF;AAAA,IACF;AAAA,EAAA,CACD;AACH;"}
|
package/dist/index.es5.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as e } from "./index.es7.js";
|
|
2
|
-
import "./index.es8.js";
|
|
3
|
-
import { __exports as r } from "./index.es9.js";
|
|
4
|
-
let t = r;
|
|
5
|
-
var o = (t.__esModule ? t : { default: t }).default;
|
|
6
|
-
const p = /* @__PURE__ */ e(o);
|
|
7
|
-
export {
|
|
8
|
-
p as default
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=index.es5.js.map
|
package/dist/index.es5.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es5.js","sources":["../node_modules/tailwindcss/plugin.js"],"sourcesContent":["let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n"],"names":["createPlugin","require$$0","plugin"],"mappings":";;;AAAA,IAAIA,IAAeC;AACnB,IAAAC,KAAkBF,EAAa,aAAaA,IAAe,EAAE,SAASA,EAAY,GAAI;;","x_google_ignoreList":[0]}
|
package/dist/index.es6.js
DELETED
package/dist/index.es6.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es6.js","sources":["../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: Array<ClassValue>) {\n return twMerge(clsx(inputs))\n}\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":";;AAGO,SAASA,KAAMC,GAA2B;AACxC,SAAAC,EAAQC,EAAKF,CAAM,CAAC;AAC7B;"}
|
package/dist/index.es7.js
DELETED
package/dist/index.es7.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
package/dist/index.es8.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __exports as i } from "./index.es9.js";
|
|
2
|
-
import "./index.es10.js";
|
|
3
|
-
import { __exports as o } from "./index.es11.js";
|
|
4
|
-
(function(t) {
|
|
5
|
-
Object.defineProperty(t, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
}), Object.defineProperty(t, "default", {
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
get: function() {
|
|
10
|
-
return n;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
const r = /* @__PURE__ */ u(o);
|
|
14
|
-
function u(e) {
|
|
15
|
-
return e && e.__esModule ? e : {
|
|
16
|
-
default: e
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
const n = r.default;
|
|
20
|
-
})(i);
|
|
21
|
-
//# sourceMappingURL=index.es8.js.map
|
package/dist/index.es8.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es8.js","sources":["../node_modules/tailwindcss/lib/public/create-plugin.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nconst _default = _createPlugin.default;\n"],"names":["exports","_default","_createPlugin","_interop_require_default","require$$0","obj"],"mappings":";;;;AACA,SAAO,eAAwBA,GAAA,cAAc;AAAA,IACzC,OAAO;AAAA,EACX,CAAC,GACD,OAAO,eAAeA,GAAS,WAAW;AAAA,IACtC,YAAY;AAAA,IACZ,KAAK,WAAW;AACZ,aAAOC;AAAA,IACV;AAAA,EACL,CAAC;AACD,QAAMC,IAA8B,gBAAAC,EAAyBC,CAA+B;AAC5F,WAASD,EAAyBE,GAAK;AACnC,WAAOA,KAAOA,EAAI,aAAaA,IAAM;AAAA,MACjC,SAASA;AAAA,IACjB;AAAA,EACC;AACD,QAAMJ,IAAWC,EAAc;;","x_google_ignoreList":[0]}
|
package/dist/index.es9.js
DELETED
package/dist/index.es9.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/lib/plugin.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/lib/plugin.ts"],"names":[],"mappings":"AAEA,wBAAgB,OAAO,YAEtB;AAED,wBAAgB,YAAY;;;EA6F3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.test.d.ts","sourceRoot":"","sources":["../../src/lib/plugin.test.tsx"],"names":[],"mappings":""}
|
package/dist/lib/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAA;AAG5C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,UAE9C"}
|
package/dist/manifest.json
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"/opt/atlassian/pipelines/agent/build/node_modules/tailwindcss/lib/public/create-plugin.js?commonjs-exports": {
|
|
3
|
-
"file": "index.cjs9.js",
|
|
4
|
-
"src": "/opt/atlassian/pipelines/agent/build/node_modules/tailwindcss/lib/public/create-plugin.js?commonjs-exports"
|
|
5
|
-
},
|
|
6
|
-
"/opt/atlassian/pipelines/agent/build/node_modules/tailwindcss/lib/util/createPlugin.js?commonjs-exports": {
|
|
7
|
-
"file": "index.cjs11.js",
|
|
8
|
-
"src": "/opt/atlassian/pipelines/agent/build/node_modules/tailwindcss/lib/util/createPlugin.js?commonjs-exports"
|
|
9
|
-
},
|
|
10
|
-
"commonjsHelpers.js": {
|
|
11
|
-
"file": "index.cjs7.js",
|
|
12
|
-
"src": "commonjsHelpers.js"
|
|
13
|
-
},
|
|
14
|
-
"node_modules/tailwindcss/lib/public/create-plugin.js": {
|
|
15
|
-
"file": "index.cjs8.js",
|
|
16
|
-
"imports": [
|
|
17
|
-
"/opt/atlassian/pipelines/agent/build/node_modules/tailwindcss/lib/public/create-plugin.js?commonjs-exports",
|
|
18
|
-
"node_modules/tailwindcss/lib/util/createPlugin.js",
|
|
19
|
-
"/opt/atlassian/pipelines/agent/build/node_modules/tailwindcss/lib/util/createPlugin.js?commonjs-exports"
|
|
20
|
-
],
|
|
21
|
-
"src": "node_modules/tailwindcss/lib/public/create-plugin.js"
|
|
22
|
-
},
|
|
23
|
-
"node_modules/tailwindcss/lib/util/createPlugin.js": {
|
|
24
|
-
"file": "index.cjs10.js",
|
|
25
|
-
"imports": [
|
|
26
|
-
"/opt/atlassian/pipelines/agent/build/node_modules/tailwindcss/lib/util/createPlugin.js?commonjs-exports"
|
|
27
|
-
],
|
|
28
|
-
"src": "node_modules/tailwindcss/lib/util/createPlugin.js"
|
|
29
|
-
},
|
|
30
|
-
"node_modules/tailwindcss/plugin.js": {
|
|
31
|
-
"file": "index.cjs5.js",
|
|
32
|
-
"imports": [
|
|
33
|
-
"commonjsHelpers.js",
|
|
34
|
-
"node_modules/tailwindcss/lib/public/create-plugin.js",
|
|
35
|
-
"/opt/atlassian/pipelines/agent/build/node_modules/tailwindcss/lib/public/create-plugin.js?commonjs-exports"
|
|
36
|
-
],
|
|
37
|
-
"src": "node_modules/tailwindcss/plugin.js"
|
|
38
|
-
},
|
|
39
|
-
"src/components/Button/Button.tsx": {
|
|
40
|
-
"file": "index.cjs3.js",
|
|
41
|
-
"imports": [
|
|
42
|
-
"src/lib/utils.ts"
|
|
43
|
-
],
|
|
44
|
-
"src": "src/components/Button/Button.tsx"
|
|
45
|
-
},
|
|
46
|
-
"src/index.ts": {
|
|
47
|
-
"file": "index.cjs.js",
|
|
48
|
-
"imports": [
|
|
49
|
-
"src/styles/globals.css",
|
|
50
|
-
"src/components/Button/Button.tsx",
|
|
51
|
-
"src/lib/plugin.ts"
|
|
52
|
-
],
|
|
53
|
-
"isEntry": true,
|
|
54
|
-
"src": "src/index.ts"
|
|
55
|
-
},
|
|
56
|
-
"src/lib/plugin.ts": {
|
|
57
|
-
"file": "index.cjs4.js",
|
|
58
|
-
"imports": [
|
|
59
|
-
"node_modules/tailwindcss/plugin.js"
|
|
60
|
-
],
|
|
61
|
-
"src": "src/lib/plugin.ts"
|
|
62
|
-
},
|
|
63
|
-
"src/lib/utils.ts": {
|
|
64
|
-
"file": "index.cjs6.js",
|
|
65
|
-
"src": "src/lib/utils.ts"
|
|
66
|
-
},
|
|
67
|
-
"src/styles/globals.css": {
|
|
68
|
-
"file": "index.cjs2.js",
|
|
69
|
-
"src": "src/styles/globals.css"
|
|
70
|
-
},
|
|
71
|
-
"style.css": {
|
|
72
|
-
"file": "style.css",
|
|
73
|
-
"src": "style.css"
|
|
74
|
-
}
|
|
75
|
-
}
|