@geneui/components 3.0.0-next-d82ed4a-12032025 → 3.0.0-next-41d59b3-12032025
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/Checkbox.js +2 -2
- package/GeneUIProvider.js +1 -1
- package/Info.js +1 -1
- package/KeyValue.js +1 -1
- package/Label.js +2 -2
- package/Pill.js +2 -2
- package/Popover.js +2 -2
- package/ProgressBar.js +2 -2
- package/QRCode.js +1165 -0
- package/Tag.js +2 -2
- package/Text.js +2 -2
- package/Tooltip.js +1 -1
- package/components/molecules/QRCode/QRCode.d.ts +38 -0
- package/components/molecules/QRCode/index.d.ts +1 -0
- package/{index-9d92561b.js → index-2eadf6a2.js} +1 -0
- package/{index-633639a4.js → index-4acd505b.js} +1 -1
- package/index.d.ts +1 -0
- package/index.js +4 -3
- package/package.json +2 -1
- package/{useEllipsisDetection-5eab9668.js → useEllipsisDetection-f7d4feff.js} +1 -1
package/Tag.js
CHANGED
|
@@ -5,11 +5,11 @@ import { S as SvgErrorAlertFill } from './ErrorAlertFill-a0afebbf.js';
|
|
|
5
5
|
import { _ as _objectWithoutProperties, a as _extends } from './ArrowLeft-b88e2ba8.js';
|
|
6
6
|
import { S as SvgWarningFill } from './WarningFill-143d0870.js';
|
|
7
7
|
import Button from './Button.js';
|
|
8
|
-
import { u as useEllipsisDetection } from './useEllipsisDetection-
|
|
8
|
+
import { u as useEllipsisDetection } from './useEllipsisDetection-f7d4feff.js';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-746bb8ed.js';
|
|
10
10
|
import Tooltip from './Tooltip.js';
|
|
11
11
|
import './Loader.js';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-2eadf6a2.js';
|
|
13
13
|
import './useDebounceCallback-999deae7.js';
|
|
14
14
|
import './floating-ui.react-0485e4db.js';
|
|
15
15
|
import 'react-dom';
|
package/Text.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useRef } from 'react';
|
|
2
2
|
import { c as classNames } from './index-ce02421b.js';
|
|
3
3
|
import Tooltip from './Tooltip.js';
|
|
4
|
-
import { u as useEllipsisDetection } from './useEllipsisDetection-
|
|
4
|
+
import { u as useEllipsisDetection } from './useEllipsisDetection-f7d4feff.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-746bb8ed.js';
|
|
6
6
|
import './floating-ui.react-0485e4db.js';
|
|
7
7
|
import 'react-dom';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-2eadf6a2.js';
|
|
9
9
|
import './useDebounceCallback-999deae7.js';
|
|
10
10
|
|
|
11
11
|
var css_248z = ".text_variant_headingXLargeSemibold{font-family:var(--guit-sem-font-heading-xlarge-semibold-font-family);font-size:var(--guit-sem-font-heading-xlarge-semibold-font-size);font-weight:var(--guit-sem-font-heading-xlarge-semibold-font-weight);line-height:var(--guit-sem-font-heading-xlarge-semibold-line-height)}.text_variant_headingLargeSemibold{font-family:var(--guit-sem-font-heading-large-semibold-font-family);font-size:var(--guit-sem-font-heading-large-semibold-font-size);font-weight:var(--guit-sem-font-heading-large-semibold-font-weight);line-height:var(--guit-sem-font-heading-large-semibold-line-height)}.text_variant_headingMediumSemibold{font-family:var(--guit-sem-font-heading-medium-semibold-font-family);font-size:var(--guit-sem-font-heading-medium-semibold-font-size);font-weight:var(--guit-sem-font-heading-medium-semibold-font-weight);line-height:var(--guit-sem-font-heading-medium-semibold-line-height)}.text_variant_headingSmallSemibold{font-family:var(--guit-sem-font-heading-small-semibold-font-family);font-size:var(--guit-sem-font-heading-small-semibold-font-size);font-weight:var(--guit-sem-font-heading-small-semibold-font-weight);line-height:var(--guit-sem-font-heading-small-semibold-line-height)}.text_variant_headingXSmallSemibold{font-family:var(--guit-sem-font-heading-xsmall-semibold-font-family);font-size:var(--guit-sem-font-heading-xsmall-semibold-font-size);font-weight:var(--guit-sem-font-heading-xsmall-semibold-font-weight);line-height:var(--guit-sem-font-heading-xsmall-semibold-line-height)}.text_variant_subheadingLargeSemibold{font-family:var(--guit-sem-font-subheading-large-semibold-font-family);font-size:var(--guit-sem-font-subheading-large-semibold-font-size);font-weight:var(--guit-sem-font-subheading-large-semibold-font-weight);line-height:var(--guit-sem-font-subheading-large-semibold-line-height)}.text_variant_subheadingMediumSemibold{font-family:var(--guit-sem-font-subheading-medium-semibold-font-family);font-size:var(--guit-sem-font-subheading-medium-semibold-font-size);font-weight:var(--guit-sem-font-subheading-medium-semibold-font-weight);line-height:var(--guit-sem-font-subheading-medium-semibold-line-height)}.text_variant_labelLargeSemibold{font-family:var(--guit-sem-font-label-large-default-semibold-font-family);font-size:var(--guit-sem-font-label-large-default-semibold-font-size);font-weight:var(--guit-sem-font-label-large-default-semibold-font-weight);line-height:var(--guit-sem-font-label-large-default-semibold-line-height)}.text_variant_labelLargeMedium{font-family:var(--guit-sem-font-label-large-default-medium-font-family);font-size:var(--guit-sem-font-label-large-default-medium-font-size);font-weight:var(--guit-sem-font-label-large-default-medium-font-weight);line-height:var(--guit-sem-font-label-large-default-medium-line-height)}.text_variant_labelMediumSemibold{font-family:var(--guit-sem-font-label-medium-default-semibold-font-family);font-size:var(--guit-sem-font-label-medium-default-semibold-font-size);font-weight:var(--guit-sem-font-label-medium-default-semibold-font-weight);line-height:var(--guit-sem-font-label-medium-default-semibold-line-height)}.text_variant_labelMediumMedium{font-family:var(--guit-sem-font-label-medium-default-medium-font-family);font-size:var(--guit-sem-font-label-medium-default-medium-font-size);font-weight:var(--guit-sem-font-label-medium-default-medium-font-weight);line-height:var(--guit-sem-font-label-medium-default-medium-line-height)}.text_variant_labelSmallSemibold{font-family:var(--guit-sem-font-label-small-default-semibold-font-family);font-size:var(--guit-sem-font-label-small-default-semibold-font-size);font-weight:var(--guit-sem-font-label-small-default-semibold-font-weight);line-height:var(--guit-sem-font-label-small-default-semibold-line-height)}.text_variant_labelSmallMedium{font-family:var(--guit-sem-font-label-small-default-medium-font-family);font-size:var(--guit-sem-font-label-small-default-medium-font-size);font-weight:var(--guit-sem-font-label-small-default-medium-font-weight);line-height:var(--guit-sem-font-label-small-default-medium-line-height)}.text_variant_bodyLargeMedium_hasSpace,.text_variant_bodyLargeRegular_hasSpace,.text_variant_bodyLargeSemibold_hasSpace{margin-block-end:2.4rem}.text_variant_bodyMediumMedium_hasSpace,.text_variant_bodyMediumRegular_hasSpace,.text_variant_bodyMediumSemibold_hasSpace{margin-block-end:2rem}.text_variant_bodyLargeSemibold{font-family:var(--guit-sem-font-body-large-default-semibold-font-family);font-size:var(--guit-sem-font-body-large-default-semibold-font-size);font-weight:var(--guit-sem-font-body-large-default-semibold-font-weight);line-height:var(--guit-sem-font-body-large-default-semibold-line-height)}.text_variant_bodyLargeMedium{font-family:var(--guit-sem-font-body-large-default-medium-font-family);font-size:var(--guit-sem-font-body-large-default-medium-font-size);font-weight:var(--guit-sem-font-body-large-default-medium-font-weight);line-height:var(--guit-sem-font-body-large-default-medium-line-height)}.text_variant_bodyLargeRegular{font-family:var(--guit-sem-font-body-large-default-regular-font-family);font-size:var(--guit-sem-font-body-large-default-regular-font-size);font-weight:var(--guit-sem-font-body-large-default-regular-font-weight);line-height:var(--guit-sem-font-body-large-default-regular-line-height)}.text_variant_bodyMediumSemibold{font-family:var(--guit-sem-font-body-medium-default-semibold-font-family);font-size:var(--guit-sem-font-body-medium-default-semibold-font-size);font-weight:var(--guit-sem-font-body-medium-default-semibold-font-weight);line-height:var(--guit-sem-font-body-medium-default-semibold-line-height)}.text_variant_bodyMediumMedium{font-family:var(--guit-sem-font-body-medium-default-medium-font-family);font-size:var(--guit-sem-font-body-medium-default-medium-font-size);font-weight:var(--guit-sem-font-body-medium-default-medium-font-weight);line-height:var(--guit-sem-font-body-medium-default-medium-line-height)}.text_variant_bodyMediumRegular{font-family:var(--guit-sem-font-body-medium-default-regular-font-family);font-size:var(--guit-sem-font-body-medium-default-regular-font-size);font-weight:var(--guit-sem-font-body-medium-default-regular-font-weight);line-height:var(--guit-sem-font-body-medium-default-regular-line-height)}.text_variant_captionLargeMedium_hasSpace,.text_variant_captionLargeRegular_hasSpace,.text_variant_captionLargeSemibold_hasSpace{margin-block-end:1.6rem}.text_variant_captionMediumMedium_hasSpace,.text_variant_captionMediumRegular_hasSpace,.text_variant_captionMediumSemibold_hasSpace{margin-block-end:1.4rem}.text_variant_captionLargeSemibold{font-family:var(--guit-sem-font-caption-large-semibold-font-family);font-size:var(--guit-sem-font-caption-large-semibold-font-size);font-weight:var(--guit-sem-font-caption-large-semibold-font-weight);letter-spacing:var(--guit-sem-font-caption-large-semibold-letter-spacing);line-height:var(--guit-sem-font-caption-large-semibold-line-height)}.text_variant_captionLargeMedium{font-family:var(--guit-sem-font-caption-large-medium-font-family);font-size:var(--guit-sem-font-caption-large-medium-font-size);font-weight:var(--guit-sem-font-caption-large-medium-font-weight);letter-spacing:var(--guit-sem-font-caption-large-medium-letter-spacing);line-height:var(--guit-sem-font-caption-large-medium-line-height)}.text_variant_captionLargeRegular{font-family:var(--guit-sem-font-caption-large-regular-font-family);font-size:var(--guit-sem-font-caption-large-regular-font-size);font-weight:var(--guit-sem-font-caption-large-regular-font-weight);letter-spacing:var(--guit-sem-font-caption-large-regular-letter-spacing);line-height:var(--guit-sem-font-caption-large-regular-line-height)}.text_variant_captionMediumSemibold{font-family:var(--guit-sem-font-caption-medium-semibold-font-family);font-size:var(--guit-sem-font-caption-medium-semibold-font-size);font-weight:var(--guit-sem-font-caption-medium-semibold-font-weight);letter-spacing:var(--guit-sem-font-caption-medium-semibold-letter-spacing);line-height:var(--guit-sem-font-caption-medium-semibold-line-height)}.text_variant_captionMediumMedium{font-family:var(--guit-sem-font-caption-medium-medium-font-family);font-size:var(--guit-sem-font-caption-medium-medium-font-size);font-weight:var(--guit-sem-font-caption-medium-medium-font-weight);letter-spacing:var(--guit-sem-font-caption-medium-medium-letter-spacing);line-height:var(--guit-sem-font-caption-medium-medium-line-height)}.text_variant_captionMediumRegular{font-family:var(--guit-sem-font-caption-medium-regular-font-family);font-size:var(--guit-sem-font-caption-medium-regular-font-size);font-weight:var(--guit-sem-font-caption-medium-regular-font-weight);letter-spacing:var(--guit-sem-font-caption-medium-regular-letter-spacing);line-height:var(--guit-sem-font-caption-medium-regular-line-height)}.text_alignment_start{text-align:start}.text_alignment_center{text-align:center}.text_alignment_end{text-align:end}.text_case_uppercase{text-transform:uppercase}.text_decoration_underline{text-decoration:underline}.text_decoration_lineThrough{text-decoration:line-through}";
|
package/Tooltip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useContext, useState, useRef, useEffect, Children, cloneElement, Fragment } from 'react';
|
|
2
2
|
import { u as useFloating, p as platform, h as offset, i as flip, a as arrow, j as shift, b as autoUpdate, k as useHover, g as useInteractions, F as FloatingPortal } from './floating-ui.react-0485e4db.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-746bb8ed.js';
|
|
4
|
-
import { a as GeneUIDesignSystemContext } from './index-
|
|
4
|
+
import { a as GeneUIDesignSystemContext } from './index-2eadf6a2.js';
|
|
5
5
|
import 'react-dom';
|
|
6
6
|
import './useDebounceCallback-999deae7.js';
|
|
7
7
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FC, JSX } from "react";
|
|
2
|
+
import "./QRCode.scss";
|
|
3
|
+
interface IQRCodeProps {
|
|
4
|
+
/**
|
|
5
|
+
* Additional class for the parent element.
|
|
6
|
+
* This prop should be used to set placement properties for the element relative to its parent using BEM conventions.
|
|
7
|
+
*/
|
|
8
|
+
className?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The Error Correction Level to use.
|
|
11
|
+
* @see https://www.qrcode.com/en/about/error_correction.html
|
|
12
|
+
* Default value is `M`
|
|
13
|
+
*/
|
|
14
|
+
level?: "M" | "Q" | "H";
|
|
15
|
+
/**
|
|
16
|
+
* The foreground color used to render the QR Code.<br>
|
|
17
|
+
* Possible values: `magenta | secondary | inverse`;
|
|
18
|
+
* Default value is `magenta`
|
|
19
|
+
*/
|
|
20
|
+
appearance?: "magenta" | "secondary" | "inverse";
|
|
21
|
+
/**
|
|
22
|
+
* The value to encode into the QR Code.
|
|
23
|
+
* An array of strings can be passed in to represent multiple segments,
|
|
24
|
+
* allowing for optimization of the QR Code structure.
|
|
25
|
+
*/
|
|
26
|
+
value: string;
|
|
27
|
+
/**
|
|
28
|
+
* The JSX element to embed in the center of the QR Code.
|
|
29
|
+
* This can be used for branding, such as a logo or an icon.
|
|
30
|
+
* The size of this element will be calculated relative to the parent element.
|
|
31
|
+
*/
|
|
32
|
+
Logo?: JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A QR code component generates and displays a Quick Response (QR) code, a two-dimensional barcode that can be scanned by mobile devices to quickly access information, websites, or applications
|
|
36
|
+
*/
|
|
37
|
+
declare const QRCode: FC<IQRCodeProps>;
|
|
38
|
+
export { IQRCodeProps, QRCode as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IQRCodeProps, default } from "./QRCode";
|
|
@@ -3,7 +3,7 @@ import { u as useFloating, p as platform, o as offset, f as flip, a as arrow, s
|
|
|
3
3
|
import { S as SvgClose } from './Close-e8302008.js';
|
|
4
4
|
import { S as SvgInfoOutline } from './InfoOutline-dd2e89d9.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-746bb8ed.js';
|
|
6
|
-
import { a as GeneUIDesignSystemContext } from './index-
|
|
6
|
+
import { a as GeneUIDesignSystemContext } from './index-2eadf6a2.js';
|
|
7
7
|
import Button from './Button.js';
|
|
8
8
|
|
|
9
9
|
var css_248z = ".popover{background-color:var(--guit-sem-color-background-neutral-1-nudge);border-top-left-radius:var(--guit-ref-radius-2xsmall);border-top-right-radius:var(--guit-ref-radius-2xsmall);filter:drop-shadow(var(--guit-sem-shadow-floating-2-position-x-1) var(--guit-sem-shadow-floating-2-position-y-1) var(--guit-sem-shadow-floating-2-blur-1) var(--guit-sem-color-floating-2-rgba-1)) drop-shadow(var(--guit-sem-shadow-floating-2-position-x-2) var(--guit-sem-shadow-floating-2-position-y-2) var(--guit-sem-shadow-floating-2-blur-2) var(--guit-sem-color-floating-2-rgba-2))}.popover:not(.popover_size_mobile){border-bottom-left-radius:var(--guit-ref-radius-2xsmall);border-bottom-right-radius:var(--guit-ref-radius-2xsmall)}.popover:not(.popover_size_mobile) .popover__arrow{position:absolute}.popover:not(.popover_size_mobile) .popover__arrowPath{fill:var(--guit-sem-color-background-neutral-1-nudge)}.popover_position_top .popover__arrow{transform:rotate(180deg)}.popover_position_bottom .popover__arrow{transform:rotate(0deg)}.popover_position_left .popover__arrow{transform:rotate(90deg)}.popover_position_right .popover__arrow{transform:rotate(-90deg)}.popover_size_xLarge{width:72rem}.popover_size_xLarge .popover__body{height:15.4rem}.popover_size_xLarge .popover__footer{height:6.4rem}.popover_size_large{width:48rem}.popover_size_medium{width:36rem}.popover_size_large .popover__body,.popover_size_medium .popover__body{height:17.2rem}.popover_size_large .popover__footer,.popover_size_medium .popover__footer{height:5.6rem}.popover_size_small{width:24rem}.popover_size_small .popover__body{height:8.8rem}.popover_size_small .popover__footer{height:5.6rem}.popover_size_mobile{min-width:32rem;width:100%}.popover_size_mobile .popover__body{height:17.2rem}.popover_size_mobile .popover__footer{height:6.4rem}.popover__header{border-bottom:var(--guit-ref-border-width-thin) var(--guit-ref-border-style-solid) var(--guit-sem-color-border-neutral-2);height:4.8rem;justify-content:space-between;padding-inline:var(--guit-ref-spacing-large)}.popover__header,.popover__title{align-items:center;column-gap:var(--guit-ref-spacing-xsmall);display:flex}.popover__title{color:var(--guit-sem-color-foreground-neutral-2);flex:1;overflow:hidden}.popover__title_icon{flex:0 0 auto}.popover__title_text{font-family:var(--guit-sem-font-label-medium-default-semibold-font-family);font-size:var(--guit-sem-font-label-medium-default-semibold-font-size);font-weight:var(--guit-sem-font-label-medium-default-semibold-font-weight);line-height:var(--guit-sem-font-label-medium-default-semibold-line-height)}.popover__close{flex:0 0 auto}.popover__body{padding-block:var(--guit-ref-spacing-large);padding-inline:var(--guit-ref-spacing-large)}.popover__content{height:100%;overflow-y:auto;width:100%}.popover__footer{border-top:var(--guit-ref-border-width-thin) var(--guit-ref-border-style-solid) var(--guit-sem-color-border-neutral-2);justify-content:space-between;padding-block:var(--guit-ref-spacing-large);padding-inline:var(--guit-ref-spacing-large)}.popover__footer,.popover__footer_buttons{align-items:center;column-gap:var(--guit-ref-spacing-xsmall);display:flex}.popover__footer_buttons{margin-inline-start:auto}";
|
package/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { default as Tooltip } from "./components/molecules/Tooltip";
|
|
|
15
15
|
export { default as ProgressBar } from "./components/molecules/ProgressBar";
|
|
16
16
|
export { Steps, Step, IStepProps, IStepsProps } from "./components/molecules/Steps";
|
|
17
17
|
export { default as Tag, ITagProps } from "./components/molecules/Tag";
|
|
18
|
+
export { default as QRCode } from "./components/molecules/QRCode";
|
|
18
19
|
export { KeyValue, Key, Value, IKeyValueProps, IKeyProps, IValueProps } from "./components/molecules/KeyValue";
|
|
19
20
|
export { default as GeneUIProvider, GeneUIDesignSystemContext, IGeneUIDesignSystemContext, IGeneUIProviderProps } from "./components/providers/GeneUIProvider";
|
|
20
21
|
export { default as useDebounce } from "./hooks/useDebounceCallback";
|
package/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { default as Divider } from './Divider.js';
|
|
|
7
7
|
export { default as Info } from './Info.js';
|
|
8
8
|
export { default as Button } from './Button.js';
|
|
9
9
|
export { default as Text } from './Text.js';
|
|
10
|
-
export { P as Popover, a as PopoverBody, b as PopoverFooter, c as PopoverFooterActions, u as useScrollLock } from './index-
|
|
10
|
+
export { P as Popover, a as PopoverBody, b as PopoverFooter, c as PopoverFooterActions, u as useScrollLock } from './index-4acd505b.js';
|
|
11
11
|
export { default as Badge } from './Badge.js';
|
|
12
12
|
export { default as Scrollbar } from './Scrollbar.js';
|
|
13
13
|
export { Col, Grid, Row } from './Grid.js';
|
|
@@ -15,10 +15,11 @@ export { default as Tooltip } from './Tooltip.js';
|
|
|
15
15
|
export { default as ProgressBar } from './ProgressBar.js';
|
|
16
16
|
export { Step, Steps } from './Steps.js';
|
|
17
17
|
export { default as Tag } from './Tag.js';
|
|
18
|
+
export { default as QRCode } from './QRCode.js';
|
|
18
19
|
export { Key, KeyValue, Value } from './KeyValue.js';
|
|
19
|
-
export { a as GeneUIDesignSystemContext, G as GeneUIProvider, u as useWindowSize } from './index-
|
|
20
|
+
export { a as GeneUIDesignSystemContext, G as GeneUIProvider, u as useWindowSize } from './index-2eadf6a2.js';
|
|
20
21
|
export { u as useDebounce } from './useDebounceCallback-999deae7.js';
|
|
21
|
-
export { u as useEllipsisDetection } from './useEllipsisDetection-
|
|
22
|
+
export { u as useEllipsisDetection } from './useEllipsisDetection-f7d4feff.js';
|
|
22
23
|
import { useMemo } from 'react';
|
|
23
24
|
import './index-ce02421b.js';
|
|
24
25
|
import './ArrowLeft-b88e2ba8.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geneui/components",
|
|
3
3
|
"description": "The Gene UI components library designed for BI tools",
|
|
4
|
-
"version": "3.0.0-next-
|
|
4
|
+
"version": "3.0.0-next-41d59b3-12032025",
|
|
5
5
|
"author": "SoftConstruct",
|
|
6
6
|
"homepage": "https://github.com/softconstruct/gene-ui-components#readme",
|
|
7
7
|
"repository": {
|
|
@@ -175,6 +175,7 @@
|
|
|
175
175
|
"@geneui/icons": "^1.0.4",
|
|
176
176
|
"@geneui/tokens": "^1.0.0",
|
|
177
177
|
"classnames": "^2.3.2",
|
|
178
|
+
"qrcode.react": "^4.2.0",
|
|
178
179
|
"react-is": "^17.0.2",
|
|
179
180
|
"react-scrollbars-custom": "^4.1.1"
|
|
180
181
|
},
|