@sendoutcards/quantum-design-ui 2.0.0-alpha.6 → 2.0.0-alpha.7

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +34 -23
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -121,9 +121,9 @@ export declare type AffiliateShareWidgetProps = {
121
121
  shareLink: string;
122
122
  };
123
123
 
124
- declare type AlignContent = 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe' | 'unsafe' | CSSGridBaseValues | FlexBaseValues;
124
+ export declare type AlignContent = 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe' | 'unsafe' | CSSGridBaseValues | FlexBaseValues;
125
125
 
126
- declare type AlignItems = AlignContent | 'self-start' | 'self-end' | CSSGridBaseValues;
126
+ export declare type AlignItems = AlignContent | 'self-start' | 'self-end' | CSSGridBaseValues;
127
127
 
128
128
  export declare type AlignmentOptions = 'left' | 'center' | 'right';
129
129
 
@@ -237,11 +237,11 @@ export declare type AwardGroupLabelProps = {
237
237
  label: string;
238
238
  };
239
239
 
240
- declare type BackgroundPosition = 'center' | 'left top' | 'left center' | 'left bottom' | 'right top' | 'right center' | 'right bottom' | 'center top' | 'center center' | 'center bottom';
240
+ export declare type BackgroundPosition = 'center' | 'left top' | 'left center' | 'left bottom' | 'right top' | 'right center' | 'right bottom' | 'center top' | 'center center' | 'center bottom';
241
241
 
242
- declare type BackgroundRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'initial' | 'inherit';
242
+ export declare type BackgroundRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'initial' | 'inherit';
243
243
 
244
- declare type BackgroundSize = 'auto' | 'length' | 'cover' | 'contain' | 'initial' | 'inherit';
244
+ export declare type BackgroundSize = 'auto' | 'length' | 'cover' | 'contain' | 'initial' | 'inherit';
245
245
 
246
246
  export declare const Badge: FC<BadgeProps>;
247
247
 
@@ -288,6 +288,8 @@ declare type BaseBannerProps = {
288
288
  onClose?: () => void;
289
289
  };
290
290
 
291
+ export declare type BaseColorType = keyof typeof entities.hocs.colors.swatches;
292
+
291
293
  export declare const bellaCadaeuxTheme: Entities;
292
294
 
293
295
  export declare type BGColorUnion = ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<HOCColorKeys>;
@@ -350,7 +352,7 @@ export declare const borders: {
350
352
 
351
353
  export declare type BorderStyleDirection = BorderDirection<BorderStyles> | BorderDirection<Responsive<BorderStyles>>;
352
354
 
353
- declare type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
355
+ export declare type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
354
356
 
355
357
  export declare type BorderWidth = BorderDirection<HOCBorderWidthKeys> | BorderDirection<Responsive<HOCBorderWidthKeys>>;
356
358
 
@@ -469,7 +471,7 @@ export declare type CardQuantitySliderProps = {
469
471
  secondaryAction?: default_2.ReactNode;
470
472
  } & QuantitySliderProps;
471
473
 
472
- declare type Char = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
474
+ export declare type Char = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
473
475
 
474
476
  export declare const Checkbox: FC<CheckboxProps>;
475
477
 
@@ -526,7 +528,7 @@ export declare type CloseButtonProps = {
526
528
  id?: string;
527
529
  };
528
530
 
529
- declare type ColorModeType = 'light' | 'dark';
531
+ export declare type ColorModeType = 'light' | 'dark';
530
532
 
531
533
  export declare const ColorOption: FC<ColorOptionProps>;
532
534
 
@@ -554,6 +556,11 @@ export declare const colors: {
554
556
 
555
557
  export declare type ColorSelection = PrimaryBrandColorSelection | SecondaryBrandColorSelection | SuccessColorSelection | WarningColorSelection | DangerColorSelection | AccentColorSelection | GrayScaleColorSelection | BlueScaleColorSelection | PurpleScaleColorSelection;
556
558
 
559
+ export declare type ColorStop = {
560
+ color: LiteralUnion<HOCSwatchColorKeys>;
561
+ percentage: number;
562
+ };
563
+
557
564
  declare type ColorSwatch = {
558
565
  base: string;
559
566
  _100?: string;
@@ -715,15 +722,17 @@ export declare type CountdownTimerProps = {
715
722
  timeReachedMessage?: string;
716
723
  };
717
724
 
718
- declare type Country = {
725
+ export declare type Country = {
719
726
  isoCode: string;
720
727
  callingCode: number;
721
728
  hasSeparator?: boolean;
722
729
  };
723
730
 
724
- declare type CSSGridBaseValues = 'start' | 'end' | 'space-evenly' | 'center';
731
+ export declare type CSSGridBaseValues = 'start' | 'end' | 'space-evenly' | 'center';
725
732
 
726
- declare type Cursor = 'pointer' | 'auto' | 'text' | 'zoom-out' | 'zoom-in' | 'initial' | 'inherit' | 'move' | 'row-resize' | 'col-resize' | 'nesw-resize' | 'nwse-resize' | 'not-allowed';
733
+ export declare type CSSValues = BorderStyles | Cursor | Display | JustifyContent | AlignContent | AlignItems | JustifyItems | FlexDirection | BackgroundSize | BackgroundPosition | BackgroundRepeat | Overflow | Position;
734
+
735
+ export declare type Cursor = 'pointer' | 'auto' | 'text' | 'zoom-out' | 'zoom-in' | 'initial' | 'inherit' | 'move' | 'row-resize' | 'col-resize' | 'nesw-resize' | 'nwse-resize' | 'not-allowed';
727
736
 
728
737
  declare type DangerColorSelection = {
729
738
  swatch: 'danger';
@@ -769,7 +778,7 @@ declare type Disclaimer = {
769
778
  termsDescription: string;
770
779
  };
771
780
 
772
- declare type Display = 'relative' | 'absolute' | 'inline' | 'inline-block' | 'flex' | 'grid' | 'none' | 'contents' | 'inline-flex';
781
+ export declare type Display = 'relative' | 'absolute' | 'inline' | 'inline-block' | 'flex' | 'grid' | 'none' | 'contents' | 'inline-flex';
773
782
 
774
783
  export declare const DisplayCard: ({ title, description, children, }: DisplayCardProps) => JSX_2.Element;
775
784
 
@@ -1458,14 +1467,14 @@ export declare const Flex: default_2.MemoExoticComponent<(props: FlexProps) => J
1458
1467
 
1459
1468
  declare type FlexBaseValues = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'initial' | 'inherit';
1460
1469
 
1461
- declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
1470
+ export declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
1462
1471
 
1463
1472
  export declare type FlexProps = {
1464
1473
  children?: default_2.ReactNode;
1465
1474
  outsideClick?: () => void;
1466
1475
  } & HOCBaseProps & HOCMotionProps;
1467
1476
 
1468
- declare type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
1477
+ export declare type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
1469
1478
 
1470
1479
  declare type FramerAnimation = AnimationControls | TargetAndTransition | VariantLabels | boolean;
1471
1480
 
@@ -1838,6 +1847,8 @@ export declare type InfoBlockProps = {
1838
1847
 
1839
1848
  export declare type InfoBlockSizeType = 'large' | 'medium' | 'small';
1840
1849
 
1850
+ export declare type Initials = 'inherit' | 'initial';
1851
+
1841
1852
  export declare const Input: FC<InputProps>;
1842
1853
 
1843
1854
  export declare type InputFocusType = IconColors;
@@ -1894,9 +1905,9 @@ export declare type Item = {
1894
1905
  isActive: boolean;
1895
1906
  };
1896
1907
 
1897
- declare type JustifyContent = FlexBaseValues | CSSGridBaseValues;
1908
+ export declare type JustifyContent = FlexBaseValues | CSSGridBaseValues;
1898
1909
 
1899
- declare type JustifyItems = 'start' | 'end' | 'center' | 'stretch';
1910
+ export declare type JustifyItems = 'start' | 'end' | 'center' | 'stretch';
1900
1911
 
1901
1912
  export declare type Link = {
1902
1913
  title: default_2.ReactNode;
@@ -2067,7 +2078,7 @@ export declare type NoteSection = {
2067
2078
  notes: string[];
2068
2079
  };
2069
2080
 
2070
- declare type OnMouseEvent = (event: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
2081
+ export declare type OnMouseEvent = (event: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
2071
2082
 
2072
2083
  declare const Option_2: default_2.ForwardRefExoticComponent<OptionProps & default_2.RefAttributes<HTMLDivElement>>;
2073
2084
  export { Option_2 as Option }
@@ -2159,7 +2170,7 @@ export declare type OrderCardProps = {
2159
2170
  declare type orientation_2 = 'up' | 'down' | 'left' | 'right';
2160
2171
  export { orientation_2 as orientation }
2161
2172
 
2162
- declare type Overflow = 'visible' | 'auto' | 'scroll' | 'hidden';
2173
+ export declare type Overflow = 'visible' | 'auto' | 'scroll' | 'hidden';
2163
2174
 
2164
2175
  export declare const Overlay: ({ children, zIndex, animate, initial, exit, variants, transition, motionKey, position, backgroundVariant, pinned, shouldScroll, ...rest }: OverlayPropTypes) => JSX_2.Element;
2165
2176
 
@@ -2236,7 +2247,7 @@ export declare type PinInputProps = {
2236
2247
 
2237
2248
  export declare type PinnedType = 'top' | 'center' | 'bottom';
2238
2249
 
2239
- declare type Position = 'absolute' | 'fixed' | 'sticky' | 'relative' | 'static';
2250
+ export declare type Position = 'absolute' | 'fixed' | 'sticky' | 'relative' | 'static';
2240
2251
 
2241
2252
  export declare const PricingTile: ({ title, price, features, accentColor, backgroundColor, isFeatured, featuredItemStyles, textColor, description, priceSubtext, billingInterval, primaryAction, secondaryAction, children, hasShadow, disclaimer, isSelected, isFullLength, }: PricingTileProps) => JSX_2.Element;
2242
2253
 
@@ -2640,7 +2651,7 @@ export declare type SidebarProps = {
2640
2651
 
2641
2652
  declare type SizeMapType = Record<SizeType, number>;
2642
2653
 
2643
- declare type SizeProperties<T> = {
2654
+ export declare type SizeProperties<T> = {
2644
2655
  xSmall: T;
2645
2656
  small: T;
2646
2657
  medium: T;
@@ -2648,7 +2659,7 @@ declare type SizeProperties<T> = {
2648
2659
  xLarge: T;
2649
2660
  };
2650
2661
 
2651
- declare type SizeType = keyof SizeProperties<never>;
2662
+ export declare type SizeType = keyof SizeProperties<never>;
2652
2663
 
2653
2664
  export declare const Slider: FC<SliderProps>;
2654
2665
 
@@ -3454,9 +3465,9 @@ outerRing: string;
3454
3465
  };
3455
3466
  }>;
3456
3467
 
3457
- declare type ThemeMode = keyof ThemeModeProperies<never>;
3468
+ export declare type ThemeMode = keyof ThemeModeProperies<never>;
3458
3469
 
3459
- declare type ThemeModeProperies<T> = {
3470
+ export declare type ThemeModeProperies<T> = {
3460
3471
  primary: T;
3461
3472
  secondary: T;
3462
3473
  success: T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "2.0.0-alpha.6",
3
+ "version": "2.0.0-alpha.7",
4
4
  "description": "UI component library for Quantum Design System",
5
5
  "module": "dist/index.mjs",
6
6
  "jsnext:main": "dist/index.mjs",