digital-rabbit-cl 2.4.2 → 2.4.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/ImageThumbnail/ImageThumbnail.d.ts +2 -3
- package/dist/components/ImageThumbnail/ImageThumbnail.d.ts.map +1 -1
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Stack/Stack.d.ts.map +1 -1
- package/dist/digital-rabbit-cl.es.js +177 -175
- package/dist/digital-rabbit-cl.umd.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/types/component-props.d.ts +1 -1
- package/dist/types/component-props.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseComponentProps, ElementSpecificProps } from '../../types/component-props';
|
|
3
|
-
export type ImageThumbnailSize = 'sm' | 'md' | 'lg';
|
|
2
|
+
import { BaseComponentProps, ElementSpecificProps, SizeVariant } from '../../types/component-props';
|
|
4
3
|
export interface ImageThumbnailProps extends Pick<BaseComponentProps, 'className' | 'style'> {
|
|
5
4
|
/**
|
|
6
5
|
* Image source URL (e.g., GCS public URL)
|
|
@@ -17,7 +16,7 @@ export interface ImageThumbnailProps extends Pick<BaseComponentProps, 'className
|
|
|
17
16
|
* - lg: 192x192
|
|
18
17
|
* @default 'md'
|
|
19
18
|
*/
|
|
20
|
-
size?:
|
|
19
|
+
size?: SizeVariant;
|
|
21
20
|
/**
|
|
22
21
|
* Explicitly show the skeleton — use when you don't have a src yet (e.g. mid-upload).
|
|
23
22
|
* The skeleton also shows automatically while the image loads from the network,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageThumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/ImageThumbnail/ImageThumbnail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ImageThumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/ImageThumbnail/ImageThumbnail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EACV,kBAAkB,EAClB,oBAAoB,EACpB,WAAW,EACZ,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,CAAC;IAC1F;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,WAAW,CAAC,CAAC;CAChG;AAmBD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqGjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BaseComponentProps, LayoutProps, ElementSpecificProps } from '../../types/component-props';
|
|
3
|
-
export interface StackProps extends BaseComponentProps, Pick<LayoutProps, 'direction'> {
|
|
3
|
+
export interface StackProps extends BaseComponentProps, Pick<LayoutProps, 'direction' | 'gap'> {
|
|
4
4
|
divProps?: Omit<ElementSpecificProps<HTMLDivElement>, 'className' | 'style'>;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,oBAAoB,EACrB,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,UAAW,SAAQ,kBAAkB,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,oBAAoB,EACrB,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,UAAW,SAAQ,kBAAkB,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,KAAK,CAAC;IAC5F,QAAQ,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC;CAC9E;AAED;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA4B/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|