@cgi-learning-hub/ui 0.0.1-dev.1706708255 → 0.0.1-dev.1707475587
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/assets/AnotherComponent.css +1 -0
- package/dist/components/AnotherComponent/AnotherComponent.js +13 -3
- package/dist/components/BasicButtons/BasicButtons.js +1899 -114
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +1 -3
- package/dist/index.js +4 -7
- package/dist/useTheme-44keg6z0.js +2235 -0
- package/package.json +2 -5
- package/dist/Button-t2XOOBeu.js +0 -5460
- package/dist/assets/index.css +0 -1
- package/dist/components/Button/Button.d.ts +0 -11
- package/dist/components/Button/Button.js +0 -35
- package/dist/components/Button/Button.stories.d.ts +0 -6
- package/dist/components/Button/Button.stories.js +0 -21
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/index.js +0 -4
package/dist/assets/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#root :is(.rounded){border-radius:.25rem}#root :is(.border-2){border-width:2px}#root :is(.border-8){border-width:8px}#root :is(.bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}#root :is(.px-4){padding-left:1rem;padding-right:1rem}#root :is(.py-2){padding-top:.5rem;padding-bottom:.5rem}#root :is(.font-bold){font-weight:700}#root :is(.text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}#root :is(.hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Button as MuiButton } from '@mui/material';
|
|
3
|
-
export type ButtonProps = typeof MuiButton & {
|
|
4
|
-
text: string;
|
|
5
|
-
icon?: ReactNode;
|
|
6
|
-
};
|
|
7
|
-
declare const Button: {
|
|
8
|
-
({ text, icon }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export default Button;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { C as s, c as a, P as i, M as d } from "../../Button-t2XOOBeu.js";
|
|
4
|
-
let r;
|
|
5
|
-
typeof document == "object" && (r = a({
|
|
6
|
-
key: "css",
|
|
7
|
-
prepend: !0
|
|
8
|
-
}));
|
|
9
|
-
function c(o) {
|
|
10
|
-
const {
|
|
11
|
-
injectFirst: e,
|
|
12
|
-
children: n
|
|
13
|
-
} = o;
|
|
14
|
-
return e && r ? /* @__PURE__ */ t(s, {
|
|
15
|
-
value: r,
|
|
16
|
-
children: n
|
|
17
|
-
}) : n;
|
|
18
|
-
}
|
|
19
|
-
process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
20
|
-
/**
|
|
21
|
-
* Your component tree.
|
|
22
|
-
*/
|
|
23
|
-
children: i.node,
|
|
24
|
-
/**
|
|
25
|
-
* By default, the styles are injected last in the <head> element of the page.
|
|
26
|
-
* As a result, they gain more specificity than any other style sheet.
|
|
27
|
-
* If you want to override MUI's styles, set this prop.
|
|
28
|
-
*/
|
|
29
|
-
injectFirst: i.bool
|
|
30
|
-
});
|
|
31
|
-
const p = ({ text: o, icon: e }) => /* @__PURE__ */ t(c, { injectFirst: !0, children: /* @__PURE__ */ t(d, { variant: "outlined", startIcon: e, className: "border-8", children: "Bonjourr" }) });
|
|
32
|
-
p.displayName = "Button";
|
|
33
|
-
export {
|
|
34
|
-
p as default
|
|
35
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import t from "./Button.js";
|
|
2
|
-
const e = {
|
|
3
|
-
title: "Components/Buttons/Button",
|
|
4
|
-
component: t,
|
|
5
|
-
argTypes: {
|
|
6
|
-
text: {
|
|
7
|
-
description: "Button text value",
|
|
8
|
-
control: {
|
|
9
|
-
type: "string"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}, n = {
|
|
14
|
-
args: {
|
|
15
|
-
text: "Base button"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
n as Base,
|
|
20
|
-
e as default
|
|
21
|
-
};
|