@activecollab/components 1.0.220 → 1.0.222
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/cjs/components/Button/Button.js +3 -7
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Button/Styles.js.map +1 -1
- package/dist/cjs/components/IconButton/IconButton.js +38 -0
- package/dist/cjs/components/IconButton/IconButton.js.map +1 -0
- package/dist/cjs/components/IconButton/Styles.js +23 -0
- package/dist/cjs/components/IconButton/Styles.js.map +1 -0
- package/dist/cjs/components/IconButton/index.js +17 -0
- package/dist/cjs/components/IconButton/index.js.map +1 -0
- package/dist/cjs/components/Pressed/Pressed.js.map +1 -1
- package/dist/cjs/components/Pressed/Styles.js.map +1 -1
- package/dist/cjs/components/ValueButton/Styles.js +1 -1
- package/dist/cjs/components/ValueButton/Styles.js.map +1 -1
- package/dist/cjs/components/index.js +11 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Button/Button.d.ts +5 -6
- package/dist/esm/components/Button/Button.d.ts.map +1 -1
- package/dist/esm/components/Button/Button.js +3 -7
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Button/GlobalAddButton/Styles.d.ts +3 -1
- package/dist/esm/components/Button/GlobalAddButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/Button/Styles.d.ts +2 -2
- package/dist/esm/components/Button/Styles.d.ts.map +1 -1
- package/dist/esm/components/Button/Styles.js.map +1 -1
- package/dist/esm/components/CounterButton/Styles.d.ts +6 -2
- package/dist/esm/components/CounterButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/IconButton/IconButton.d.ts +8 -0
- package/dist/esm/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/esm/components/IconButton/IconButton.js +29 -0
- package/dist/esm/components/IconButton/IconButton.js.map +1 -0
- package/dist/esm/components/IconButton/Styles.d.ts +5 -0
- package/dist/esm/components/IconButton/Styles.d.ts.map +1 -0
- package/dist/esm/components/IconButton/Styles.js +13 -0
- package/dist/esm/components/IconButton/Styles.js.map +1 -0
- package/dist/esm/components/IconButton/index.d.ts +2 -0
- package/dist/esm/components/IconButton/index.d.ts.map +1 -0
- package/dist/esm/components/IconButton/index.js +2 -0
- package/dist/esm/components/IconButton/index.js.map +1 -0
- package/dist/esm/components/Pickers/Styles.d.ts +3 -1
- package/dist/esm/components/Pickers/Styles.d.ts.map +1 -1
- package/dist/esm/components/Pressed/Pressed.d.ts +3 -3
- package/dist/esm/components/Pressed/Pressed.d.ts.map +1 -1
- package/dist/esm/components/Pressed/Pressed.js.map +1 -1
- package/dist/esm/components/Pressed/Styles.d.ts +4 -2
- package/dist/esm/components/Pressed/Styles.d.ts.map +1 -1
- package/dist/esm/components/Pressed/Styles.js.map +1 -1
- package/dist/esm/components/SelectDate/Styles.d.ts +9 -3
- package/dist/esm/components/SelectDate/Styles.d.ts.map +1 -1
- package/dist/esm/components/Steppers/DateStepper/Styles.d.ts +3 -1
- package/dist/esm/components/Steppers/DateStepper/Styles.d.ts.map +1 -1
- package/dist/esm/components/ValueButton/Styles.d.ts +5 -3
- package/dist/esm/components/ValueButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/ValueButton/Styles.js +1 -1
- package/dist/esm/components/ValueButton/Styles.js.map +1 -1
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +188 -156
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","css","Button","StyledIconButton","size"],"sources":["../../../../src/components/IconButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport { Button } from \"../Button\";\n\nexport const StyledIconButton = styled(Button)`\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n width: 32px;\n\n ${({ size }) =>\n size === \"small\" &&\n css`\n width: 24px;\n `}\n\n ${({ size }) =>\n size === \"big\" &&\n css`\n width: 40px;\n `}\n`;\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,MAAM,QAAQ,WAAW;AAElC,OAAO,IAAMC,gBAAgB,GAAGH,MAAM,CAACE,MAAM,CAAC;EAAA;EAAA;AAAA,8FAO1C;EAAA,IAAGE,IAAI,QAAJA,IAAI;EAAA,OACPA,IAAI,KAAK,OAAO,IAChBH,GAAG,iBAEF;AAAA,GAED;EAAA,IAAGG,IAAI,SAAJA,IAAI;EAAA,OACPA,IAAI,KAAK,KAAK,IACdH,GAAG,iBAEF;AAAA,EACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/IconButton/index.ts"],"sourcesContent":["export * from \"./IconButton\";\n"],"mappings":"AAAA,cAAc,cAAc"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledNavBarButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button").
|
|
2
|
+
export declare const StyledNavBarButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button").ButtonProps & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
} & import("react").RefAttributes<HTMLButtonElement>>, any, {
|
|
3
5
|
$direction: "next" | "previous";
|
|
4
6
|
}, never>;
|
|
5
7
|
interface StyledMonthInterface {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Pickers/Styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Pickers/Styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,kBAAkB;;;gBACjB,MAAM,GAAG,UAAU;SAoBhC,CAAC;AAEF,UAAU,oBAAoB;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,oEAaxB,CAAC;AACF,eAAO,MAAM,WAAW,sFA2CvB,CAAC;AAEF,eAAO,MAAM,qBAAqB,oEAWjC,CAAC;AAEF,eAAO,MAAM,2BAA2B,oEAGvC,CAAC;AAEF,eAAO,MAAM,+BAA+B,qEAS3C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
2
|
+
import { ButtonProps } from "../Button";
|
|
3
|
+
export interface PressedProps extends ButtonProps {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const Pressed: React.ForwardRefExoticComponent<
|
|
6
|
+
export declare const Pressed: React.ForwardRefExoticComponent<PressedProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
//# sourceMappingURL=Pressed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressed.d.ts","sourceRoot":"","sources":["../../../../src/components/Pressed/Pressed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Pressed.d.ts","sourceRoot":"","sources":["../../../../src/components/Pressed/Pressed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGxC,MAAM,WAAW,YAAa,SAAQ,WAAW;IAE/C,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAKD,eAAO,MAAM,OAAO,wFAanB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressed.js","names":["React","forwardRef","classNames","StyledPressed","Pressed","ref","children","active","className","args","displayName"],"sources":["../../../../src/components/Pressed/Pressed.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport classNames from \"classnames\";\nimport {
|
|
1
|
+
{"version":3,"file":"Pressed.js","names":["React","forwardRef","classNames","StyledPressed","Pressed","ref","children","active","className","args","displayName"],"sources":["../../../../src/components/Pressed/Pressed.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport classNames from \"classnames\";\nimport { ButtonProps } from \"../Button\";\nimport { StyledPressed } from \"./Styles\";\n\nexport interface PressedProps extends ButtonProps {\n /** Set active state */\n active?: boolean;\n}\n\n/**\n * Pressed wrapper for button component\n */\nexport const Pressed = forwardRef<HTMLButtonElement, PressedProps>(\n ({ children, active = false, className, ...args }, ref) => {\n return (\n <StyledPressed\n active={active}\n ref={ref}\n className={classNames({ \"c-pressed__active\": active }, className)}\n {...args}\n >\n {children}\n </StyledPressed>\n );\n }\n);\n\nPressed.displayName = \"Pressed\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,UAAU,MAAM,YAAY;AAEnC,SAASC,aAAa,QAAQ,UAAU;AAOxC;AACA;AACA;AACA,OAAO,IAAMC,OAAO,gBAAGH,UAAU,CAC/B,gBAAmDI,GAAG,EAAK;EAAA,IAAxDC,QAAQ,QAARA,QAAQ;IAAA,mBAAEC,MAAM;IAANA,MAAM,4BAAG,KAAK;IAAEC,SAAS,QAATA,SAAS;IAAKC,IAAI;EAC7C,oBACE,oBAAC,aAAa;IACZ,MAAM,EAAEF,MAAO;IACf,GAAG,EAAEF,GAAI;IACT,SAAS,EAAEH,UAAU,CAAC;MAAE,mBAAmB,EAAEK;IAAO,CAAC,EAAEC,SAAS;EAAE,GAC9DC,IAAI,GAEPH,QAAQ,CACK;AAEpB,CAAC,CACF;AAEDF,OAAO,CAACM,WAAW,GAAG,SAAS"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare const StyledPressed: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button").
|
|
2
|
+
import { PressedProps } from "./Pressed";
|
|
3
|
+
export declare const StyledPressed: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button").ButtonProps & {
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
} & import("react").RefAttributes<HTMLButtonElement>>, any, PressedProps, never>;
|
|
4
6
|
//# sourceMappingURL=Styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Pressed/Styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Pressed/Styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAIzC,eAAO,MAAM,aAAa;;gFA0CzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","css","Button","StyledPressed","props","active","variant","children","Array","displayName"],"sources":["../../../../src/components/Pressed/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport {
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","css","Button","StyledPressed","props","active","variant","children","Array","displayName"],"sources":["../../../../src/components/Pressed/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport { PressedProps } from \"./Pressed\";\nimport { Button } from \"../Button/Button\";\nimport tw from \"twin.macro\";\n\nexport const StyledPressed = styled(Button)<PressedProps>`\n ${(props) =>\n props.active &&\n css`\n ${tw`tw-pointer-events-none`}\n\n ${(props.variant === \"primary\" || props.variant === \"contained\") &&\n css`\n background-color: var(--color-primary-800);\n `}\n\n ${(props.variant === \"secondary\" || props.variant === \"outlined\") &&\n css`\n border-color: var(--color-primary);\n color: var(--color-primary);\n `}\n\n ${props.variant === \"dark transparent\" &&\n css`\n background-color: var(--only-black);\n `}\n\n ${props.variant === \"circle raised\" &&\n css`\n background-color: var(--page-paper-main);\n box-shadow: var(--shadow-tertiary-hover);\n `}\n\n ${(props.variant === \"tertiary\" || props.variant === \"text colored\") &&\n css`\n background-color: var(--color-primary-200);\n `}\n\n ${(props.variant === \"option\" || props.variant === \"text gray\") &&\n css`\n color: var(--color-primary);\n ${props.children instanceof Array &&\n css`\n background-color: var(--color-theme-300);\n `}\n `}\n `}\n`;\n\nStyledPressed.displayName = \"StyledPressed\";\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAE/C,SAASC,MAAM,QAAQ,kBAAkB;AAGzC,OAAO,IAAMC,aAAa,GAAGH,MAAM,CAACE,MAAM,CAAC;EAAA;EAAA;AAAA,aACvC,UAACE,KAAK;EAAA,OACNA,KAAK,CAACC,MAAM,IACZJ,GAAG,yCACG;IAAA;EAAuB,CAAC,EAE1B,CAACG,KAAK,CAACE,OAAO,KAAK,SAAS,IAAIF,KAAK,CAACE,OAAO,KAAK,WAAW,KAC/DL,GAAG,gDAEF,EAEC,CAACG,KAAK,CAACE,OAAO,KAAK,WAAW,IAAIF,KAAK,CAACE,OAAO,KAAK,UAAU,KAChEL,GAAG,mEAGF,EAECG,KAAK,CAACE,OAAO,KAAK,kBAAkB,IACtCL,GAAG,yCAEF,EAECG,KAAK,CAACE,OAAO,KAAK,eAAe,IACnCL,GAAG,sFAGF,EAED,CAACG,KAAK,CAACE,OAAO,KAAK,UAAU,IAAIF,KAAK,CAACE,OAAO,KAAK,cAAc,KACjEL,GAAG,gDAEF,EAED,CAACG,KAAK,CAACE,OAAO,KAAK,QAAQ,IAAIF,KAAK,CAACE,OAAO,KAAK,WAAW,KAC5DL,GAAG,sCAECG,KAAK,CAACG,QAAQ,YAAYC,KAAK,IACjCP,GAAG,8CAEF,CACF,CACF;AAAA,EACJ;AAEDE,aAAa,CAACM,WAAW,GAAG,eAAe"}
|
|
@@ -7,8 +7,14 @@ export declare const StyledSelectDateFooter: import("styled-components").StyledC
|
|
|
7
7
|
$mode?: "atomic" | "instant" | undefined;
|
|
8
8
|
}, never>;
|
|
9
9
|
export declare const StyledSelectDateButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
-
export declare const StyledButtonSave: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button").
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
export declare const StyledButtonSave: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button").ButtonProps & {
|
|
11
|
+
children?: import("react").ReactNode;
|
|
12
|
+
} & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
13
|
+
export declare const StyledButtonClose: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button").ButtonProps & {
|
|
14
|
+
children?: import("react").ReactNode;
|
|
15
|
+
} & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
16
|
+
export declare const StyledButtonCloseColored: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button").ButtonProps & {
|
|
17
|
+
children?: import("react").ReactNode;
|
|
18
|
+
} & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
13
19
|
export declare const StyledIconComponent: import("styled-components").StyledComponent<"svg", any, {}, never>;
|
|
14
20
|
//# sourceMappingURL=Styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/SelectDate/Styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,gBAAgB,oEAG5B,CAAC;AAIF,eAAO,MAAM,sBAAsB,uEAmBlC,CAAC;AAIF,eAAO,MAAM,mBAAmB,uMAkB/B,CAAC;AAIF,eAAO,MAAM,0BAA0B,oEAGtC,CAAC;AAIF,eAAO,MAAM,sBAAsB;;SAWlC,CAAC;AAIF,eAAO,MAAM,uBAAuB,oEAEnC,CAAC;AAIF,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/SelectDate/Styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,gBAAgB,oEAG5B,CAAC;AAIF,eAAO,MAAM,sBAAsB,uEAmBlC,CAAC;AAIF,eAAO,MAAM,mBAAmB,uMAkB/B,CAAC;AAIF,eAAO,MAAM,0BAA0B,oEAGtC,CAAC;AAIF,eAAO,MAAM,sBAAsB;;SAWlC,CAAC;AAIF,eAAO,MAAM,uBAAuB,oEAEnC,CAAC;AAIF,eAAO,MAAM,gBAAgB;;sEAE5B,CAAC;AAIF,eAAO,MAAM,iBAAiB;;sEAE7B,CAAC;AAIF,eAAO,MAAM,wBAAwB;;sEAEpC,CAAC;AAIF,eAAO,MAAM,mBAAmB,oEAW/B,CAAC"}
|
|
@@ -8,6 +8,8 @@ interface StyledDiv {
|
|
|
8
8
|
$isRounded: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare const StyledDiv: import("styled-components").StyledComponent<"div", any, StyledDiv, never>;
|
|
11
|
-
export declare const StyledControl: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../Button").
|
|
11
|
+
export declare const StyledControl: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../Button").ButtonProps & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
12
14
|
export {};
|
|
13
15
|
//# sourceMappingURL=Styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Steppers/DateStepper/Styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,YAAY,uEAmDxB,CAAC;AAEF,eAAO,MAAM,UAAU,6GAOtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,6wJAQ7B,CAAC;AAEF,eAAO,MAAM,UAAU,qEAGtB,CAAC;AAEF,UAAU,SAAS;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,2EAwErB,CAAC;AAEF,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Steppers/DateStepper/Styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,YAAY,uEAmDxB,CAAC;AAEF,eAAO,MAAM,UAAU,6GAOtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,6wJAQ7B,CAAC;AAEF,eAAO,MAAM,UAAU,qEAGtB,CAAC;AAEF,UAAU,SAAS;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,2EAwErB,CAAC;AAEF,eAAO,MAAM,aAAa;;sEAEzB,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { ButtonProps } from "../Button";
|
|
3
3
|
export declare const StyledValueButtonLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Typography").IBodyProps & Omit<import("../Typography/Typography").ITypographyProps, "variant" | "weight"> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
4
4
|
export declare const StyledValueButtonValue: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Typography").IBodyProps & Omit<import("../Typography/Typography").ITypographyProps, "variant" | "weight"> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
5
|
-
interface IStyledValueButton extends
|
|
5
|
+
interface IStyledValueButton extends ButtonProps {
|
|
6
6
|
$active?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const StyledValueButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
8
|
+
export declare const StyledValueButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<ButtonProps & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLButtonElement>>, any, IStyledValueButton, never>;
|
|
9
11
|
export {};
|
|
10
12
|
//# sourceMappingURL=Styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ValueButton/Styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAU,
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ValueButton/Styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAO,MAAM,sBAAsB,8QAGlC,CAAC;AAIF,eAAO,MAAM,sBAAsB,8QAAkB,CAAC;AAItD,UAAU,kBAAmB,SAAQ,WAAW;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB;;sFA0B7B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { Body2 } from "../Typography";
|
|
3
|
-
import { Button } from "../Button
|
|
3
|
+
import { Button } from "../Button";
|
|
4
4
|
export var StyledValueButtonLabel = styled(Body2).withConfig({
|
|
5
5
|
displayName: "Styles__StyledValueButtonLabel",
|
|
6
6
|
componentId: "sc-7n59oz-0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","css","Body2","Button","StyledValueButtonLabel","displayName","StyledValueButtonValue","StyledValueButton","props","$active"],"sources":["../../../../src/components/ValueButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\nimport { Body2 } from \"../Typography\";\nimport { Button,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","css","Body2","Button","StyledValueButtonLabel","displayName","StyledValueButtonValue","StyledValueButton","props","$active"],"sources":["../../../../src/components/ValueButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport tw from \"twin.macro\";\nimport { Body2 } from \"../Typography\";\nimport { Button, ButtonProps } from \"../Button\";\n\nexport const StyledValueButtonLabel = styled(Body2)`\n opacity: 60%;\n margin-right: 2px;\n`;\n\nStyledValueButtonLabel.displayName = \"StyledValueButtonLabel\";\n\nexport const StyledValueButtonValue = styled(Body2)``;\n\nStyledValueButtonValue.displayName = \"StyledValueButtonValue\";\n\ninterface IStyledValueButton extends ButtonProps {\n $active?: boolean;\n}\n\nexport const StyledValueButton = styled(Button)<IStyledValueButton>`\n ${(props) =>\n props.$active &&\n css`\n ${StyledValueButtonLabel},\n ${StyledValueButtonValue} {\n ${tw`tw-pointer-events-none`}\n color: var(--color-theme-900) !important;\n }\n\n svg {\n fill: var(--color-primary);\n }\n `}\n\n ${(props) =>\n props.$active !== true &&\n css`{\n &:hover {\n ${StyledValueButtonLabel},\n ${StyledValueButtonValue} {\n ${tw`tw-pointer-events-none`}\n color: var(--color-theme-900) !important;\n }\n }\n `}\n`;\n\nStyledValueButton.displayName = \"StyledValueButton\";\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAE/C,SAASC,KAAK,QAAQ,eAAe;AACrC,SAASC,MAAM,QAAqB,WAAW;AAE/C,OAAO,IAAMC,sBAAsB,GAAGJ,MAAM,CAACE,KAAK,CAAC;EAAA;EAAA;AAAA,qCAGlD;AAEDE,sBAAsB,CAACC,WAAW,GAAG,wBAAwB;AAE7D,OAAO,IAAMC,sBAAsB,GAAGN,MAAM,CAACE,KAAK,CAAC;EAAA;EAAA;AAAA,Q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/B,cAAc,YAAY,CAAC;AAC3B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from \"./Button\";\nexport * from \"./ButtonGroup\";\nexport * from \"./Breadcrumbs\";\nexport * from \"./CounterButton\";\nexport * from \"./Steppers\";\nexport * from \"./Tables\";\nexport * from \"./CompleteCheckbox\";\nexport * from \"./Paper\";\nexport * from \"./ScaleBar\";\nexport * from \"./Card\";\nexport * from \"./EntityCard\";\nexport * from \"./Signifier\";\nexport * from \"./Avatar\";\nexport * from \"./Tag\";\nexport * from \"./Loaders\";\nexport * from \"./Nav\";\nexport * from \"./Bubble\";\nexport * from \"./Input\";\nexport * from \"./Menu\";\nexport * from \"./Expanders\";\nexport * from \"./Pickers\";\nexport * from \"./DatePicker\";\nexport * from \"./List\";\nexport * from \"./MenuSelector\";\nexport * from \"./MultiAvatar\";\nexport * from \"./RadioButton\";\nexport * from \"./ScrollShadow\";\nexport * from \"./Icons\";\nexport * from \"./Textarea\";\nexport * from \"./Modal\";\nexport * from \"./Sheet\";\nexport * from \"./Header\";\nexport * from \"./AutoResizeTextarea\";\nexport * from \"./Overlay\";\nexport * from \"./Accordion\";\nexport * from \"./Choose\";\nexport * from \"./Links\";\nexport * from \"./SelectDate\";\nexport * from \"./Popper\";\nexport * from \"./ToastMessage\";\nexport * from \"./Tooltip\";\nexport * from \"./Transitions\";\nexport * from \"./Pressed\";\nexport * from \"./Window\";\nexport * from \"./ValueButton\";\nexport * from \"./Select\";\nexport * from \"./SelectTrigger\";\nexport * from \"./Dialog\";\nexport * from \"./ConfirmDialog\";\nexport * from \"./Checkbox\";\nexport * from \"./Toggle\";\nexport * from \"./Typography\";\nexport * from \"./Autocomplete\";\nexport * from \"./ComboBox\";\nexport * from \"./Button/AddToListButton\";\nexport * from \"./ProgressBar\";\nexport * from \"./Reactions\";\nexport * from \"./Label\";\nexport * from \"./GlobalStyle\";\nexport * from \"./ProgressRing\";\nexport * from \"./EditableContent\";\nexport * from \"./EditableText\";\nexport * from \"./Folder\";\nexport * from \"./Chip\";\nexport * from \"./Trigger\";\nexport * from \"./Dot\";\nexport * from \"./Entity\";\nexport * from \"./Filter\";\nexport * from \"./Wizard\";\n"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,iBAAiB;AAC/B,cAAc,YAAY;AAC1B,cAAc,UAAU;AACxB,cAAc,oBAAoB;AAClC,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,cAAc;AAC5B,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,OAAO;AACrB,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,WAAW;AACzB,cAAc,cAAc;AAC5B,cAAc,QAAQ;AACtB,cAAc,gBAAgB;AAC9B,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,gBAAgB;AAC9B,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,UAAU;AACxB,cAAc,sBAAsB;AACpC,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,UAAU;AACxB,cAAc,gBAAgB;AAC9B,cAAc,WAAW;AACzB,cAAc,eAAe;AAC7B,cAAc,WAAW;AACzB,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,UAAU;AACxB,cAAc,iBAAiB;AAC/B,cAAc,UAAU;AACxB,cAAc,iBAAiB;AAC/B,cAAc,YAAY;AAC1B,cAAc,UAAU;AACxB,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,YAAY;AAC1B,cAAc,0BAA0B;AACxC,cAAc,eAAe;AAC7B,cAAc,aAAa;AAC3B,cAAc,SAAS;AACvB,cAAc,eAAe;AAC7B,cAAc,gBAAgB;AAC9B,cAAc,mBAAmB;AACjC,cAAc,gBAAgB;AAC9B,cAAc,UAAU;AACxB,cAAc,QAAQ;AACtB,cAAc,WAAW;AACzB,cAAc,OAAO;AACrB,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,UAAU"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from \"./Button\";\nexport * from \"./ButtonGroup\";\nexport * from \"./Breadcrumbs\";\nexport * from \"./CounterButton\";\nexport * from \"./Steppers\";\nexport * from \"./Tables\";\nexport * from \"./CompleteCheckbox\";\nexport * from \"./Paper\";\nexport * from \"./ScaleBar\";\nexport * from \"./Card\";\nexport * from \"./EntityCard\";\nexport * from \"./Signifier\";\nexport * from \"./Avatar\";\nexport * from \"./Tag\";\nexport * from \"./Loaders\";\nexport * from \"./Nav\";\nexport * from \"./Bubble\";\nexport * from \"./Input\";\nexport * from \"./Menu\";\nexport * from \"./Expanders\";\nexport * from \"./Pickers\";\nexport * from \"./DatePicker\";\nexport * from \"./List\";\nexport * from \"./MenuSelector\";\nexport * from \"./MultiAvatar\";\nexport * from \"./RadioButton\";\nexport * from \"./ScrollShadow\";\nexport * from \"./Icons\";\nexport * from \"./Textarea\";\nexport * from \"./Modal\";\nexport * from \"./Sheet\";\nexport * from \"./Header\";\nexport * from \"./AutoResizeTextarea\";\nexport * from \"./Overlay\";\nexport * from \"./Accordion\";\nexport * from \"./Choose\";\nexport * from \"./Links\";\nexport * from \"./SelectDate\";\nexport * from \"./Popper\";\nexport * from \"./ToastMessage\";\nexport * from \"./Tooltip\";\nexport * from \"./Transitions\";\nexport * from \"./Pressed\";\nexport * from \"./Window\";\nexport * from \"./ValueButton\";\nexport * from \"./Select\";\nexport * from \"./SelectTrigger\";\nexport * from \"./Dialog\";\nexport * from \"./ConfirmDialog\";\nexport * from \"./Checkbox\";\nexport * from \"./Toggle\";\nexport * from \"./Typography\";\nexport * from \"./Autocomplete\";\nexport * from \"./ComboBox\";\nexport * from \"./Button/AddToListButton\";\nexport * from \"./ProgressBar\";\nexport * from \"./Reactions\";\nexport * from \"./Label\";\nexport * from \"./GlobalStyle\";\nexport * from \"./ProgressRing\";\nexport * from \"./EditableContent\";\nexport * from \"./EditableText\";\nexport * from \"./Folder\";\nexport * from \"./Chip\";\nexport * from \"./Trigger\";\nexport * from \"./Dot\";\nexport * from \"./Entity\";\nexport * from \"./Filter\";\nexport * from \"./Wizard\";\nexport * from \"./IconButton\";\n"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,iBAAiB;AAC/B,cAAc,YAAY;AAC1B,cAAc,UAAU;AACxB,cAAc,oBAAoB;AAClC,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,cAAc;AAC5B,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,OAAO;AACrB,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,WAAW;AACzB,cAAc,cAAc;AAC5B,cAAc,QAAQ;A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