herrtopi-test
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -24,170 +24,4 @@ /* | ||
*/ | ||
// THEMES AND UTILS | ||
import canvas from './themes/canvas/index.js'; | ||
import canvasHighContrast from './themes/canvasHighContrast/index.js'; | ||
import instructure from './themes/instructure/index.js'; | ||
import { overrideTheme } from './utils/theming.js'; | ||
import enableValidation from './utils/enableValidation.js'; | ||
import { DIRECTION_VALUES } from './mixins/BidirectionalElement.js'; | ||
import { placementValues } from './utils/commonTypes.js'; | ||
export { canvas, canvasHighContrast, instructure, overrideTheme, enableValidation, DIRECTION_VALUES, placementValues }; | ||
import { Avatar } from './components/index.js'; | ||
const Avatar = "kiscica"; | ||
export { Avatar }; | ||
// // COMPONENTS: | ||
// export { | ||
// AccessibleContent, | ||
// PresentationContent, | ||
// ScreenReaderContent, | ||
// ApplyTextDirection, | ||
// ApplyTheme, | ||
// Avatar, | ||
// Badge, | ||
// Billboard, | ||
// CodeEditor, | ||
// Heading, | ||
// Img, | ||
// Link, | ||
// Text, | ||
// View, | ||
// registerComponents | ||
// } from './components/index.js' | ||
// // TYPES: | ||
// // external types | ||
// export type { CSSShorthandValue } from '@instructure/shared-types' | ||
// // theme types | ||
// export type { | ||
// Theme, | ||
// BorderThemeVariables, | ||
// BreakpointThemeVariables, | ||
// ColorThemeVariables, | ||
// BaseColorThemeVariables, | ||
// TextColorThemeVariables, | ||
// BackgroundColorThemeVariables, | ||
// BorderColorThemeVariables, | ||
// BrandThemeVariables, | ||
// FormThemeVariables, | ||
// MediaThemeVariables, | ||
// ShadowThemeVariables, | ||
// SpacingThemeVariables, | ||
// StackingThemeVariables, | ||
// TransitionThemeVariables, | ||
// TypographyThemeVariables, | ||
// ActiveThemeKey | ||
// } from './themes/types/index.js' | ||
// // mixin types | ||
// export type { | ||
// Direction, | ||
// DirectionProp, | ||
// DirectionValues | ||
// } from './mixins/BidirectionalElement.js' | ||
// // util types | ||
// export type { Cursor, PlacementPropValues } from './utils/commonTypes.js' | ||
// export type { | ||
// ComponentThemeMap, | ||
// ComponentTheme, | ||
// ComponentThemes, | ||
// StyleOverride | ||
// } from './utils/theming.js' | ||
// export type { | ||
// Background, | ||
// BorderWidthKeys, | ||
// BorderRadiiKeys, | ||
// BackgroundKeys, | ||
// StackingKeys, | ||
// SpacingKeys, | ||
// ShadowKeys, | ||
// BorderRadii, | ||
// BorderWidth, | ||
// BorderRadiiValues, | ||
// BorderWidthValues, | ||
// Stacking, | ||
// Shadow, | ||
// Spacing, | ||
// SpacingValues, | ||
// themeablePropValues | ||
// } from './utils/themeablePropValues.js' | ||
// export type { | ||
// ComponentOwnPropTypes, | ||
// ComponentPropTypes, | ||
// PartialRecord, | ||
// Constructor, | ||
// MixinRender, | ||
// MutableClassInfo | ||
// } from './utils/utilityTypes.js' | ||
// // component theme types | ||
// export type { AvatarTheme } from './components/inst-avatar/theme.js' | ||
// export type { BadgeTheme } from './components/inst-badge/theme.js' | ||
// export type { BillboardTheme } from './components/inst-billboard/theme.js' | ||
// export type { HeadingTheme } from './components/inst-heading/theme.js' | ||
// export type { ImgTheme } from './components/inst-img/theme.js' | ||
// export type { LinkTheme } from './components/inst-link/theme.js' | ||
// export type { TextTheme } from './components/inst-text/theme.js' | ||
// export type { ViewTheme } from './components/inst-view/theme.js' | ||
// // component prop types | ||
// export type { | ||
// ScreenReaderContentProps, | ||
// ScreenReaderContentOwnPropTypes, | ||
// ScreenReaderContentPropTypes, | ||
// PresentationContentProps, | ||
// PresentationContentOwnPropTypes, | ||
// PresentationContentPropTypes, | ||
// AccessibleContentProps, | ||
// AccessibleContentOwnPropTypes, | ||
// AccessibleContentPropTypes | ||
// } from './components/inst-a11y-content/index.js' | ||
// export type { | ||
// ApplyTextDirectionProps, | ||
// ApplyTextDirectionOwnPropTypes, | ||
// ApplyTextDirectionPropTypes | ||
// } from './components/inst-apply-text-direction/props.js' | ||
// export type { | ||
// ApplyThemeProps, | ||
// ApplyThemeOwnPropTypes, | ||
// ApplyThemePropTypes | ||
// } from './components/inst-apply-theme/props.js' | ||
// export type { | ||
// AvatarProps, | ||
// AvatarOwnPropTypes, | ||
// AvatarPropTypes | ||
// } from './components/inst-avatar/props.js' | ||
// export type { | ||
// BadgeProps, | ||
// BadgeOwnPropTypes, | ||
// BadgePropTypes | ||
// } from './components/inst-badge/props.js' | ||
// export type { | ||
// BillboardProps, | ||
// BillboardOwnPropTypes, | ||
// BillboardPropTypes | ||
// } from './components/inst-billboard/props.js' | ||
// export type { | ||
// CodeEditorProps, | ||
// CodeEditorOwnPropTypes, | ||
// CodeEditorPropTypes | ||
// } from './components/inst-code-editor/props.js' | ||
// export type { | ||
// HeadingProps, | ||
// HeadingOwnPropTypes, | ||
// HeadingPropTypes | ||
// } from './components/inst-heading/props.js' | ||
// export type { | ||
// ImgProps, | ||
// ImgOwnPropTypes, | ||
// ImgPropTypes | ||
// } from './components/inst-img/props.js' | ||
// export type { | ||
// LinkProps, | ||
// LinkOwnPropTypes, | ||
// LinkPropTypes | ||
// } from './components/inst-link/props.js' | ||
// export type { | ||
// TextProps, | ||
// TextOwnPropTypes, | ||
// TextPropTypes | ||
// } from './components/inst-text/props.js' | ||
// export type { | ||
// ViewProps, | ||
// ViewOwnPropTypes, | ||
// ViewPropTypes | ||
// } from './components/inst-view/props.js' | ||
//# sourceMappingURL=index.js.map |
@@ -7,3 +7,3 @@ { | ||
"author": "Sanyi", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"types": "dist/index.d.ts", | ||
@@ -10,0 +10,0 @@ "type": "module", |
@@ -27,4 +27,4 @@ /* | ||
import {Avatar} from './components.js' | ||
import {Avatar} from './components' | ||
export {Avatar} | ||
// export { registerComponents } |
186
src/index.ts
@@ -25,188 +25,4 @@ /* | ||
// THEMES AND UTILS | ||
import canvas from './themes/canvas/index.js' | ||
import canvasHighContrast from './themes/canvasHighContrast/index.js' | ||
import instructure from './themes/instructure/index.js' | ||
import { overrideTheme } from './utils/theming.js' | ||
import enableValidation from './utils/enableValidation.js' | ||
import { DIRECTION_VALUES } from './mixins/BidirectionalElement.js' | ||
import { placementValues } from './utils/commonTypes.js' | ||
const Avatar = "kiscica" | ||
export { | ||
canvas, | ||
canvasHighContrast, | ||
instructure, | ||
overrideTheme, | ||
enableValidation, | ||
DIRECTION_VALUES, | ||
placementValues | ||
} | ||
import {Avatar} from './components/index.js' | ||
export {Avatar} | ||
// // COMPONENTS: | ||
// export { | ||
// AccessibleContent, | ||
// PresentationContent, | ||
// ScreenReaderContent, | ||
// ApplyTextDirection, | ||
// ApplyTheme, | ||
// Avatar, | ||
// Badge, | ||
// Billboard, | ||
// CodeEditor, | ||
// Heading, | ||
// Img, | ||
// Link, | ||
// Text, | ||
// View, | ||
// registerComponents | ||
// } from './components/index.js' | ||
// // TYPES: | ||
// // external types | ||
// export type { CSSShorthandValue } from '@instructure/shared-types' | ||
// // theme types | ||
// export type { | ||
// Theme, | ||
// BorderThemeVariables, | ||
// BreakpointThemeVariables, | ||
// ColorThemeVariables, | ||
// BaseColorThemeVariables, | ||
// TextColorThemeVariables, | ||
// BackgroundColorThemeVariables, | ||
// BorderColorThemeVariables, | ||
// BrandThemeVariables, | ||
// FormThemeVariables, | ||
// MediaThemeVariables, | ||
// ShadowThemeVariables, | ||
// SpacingThemeVariables, | ||
// StackingThemeVariables, | ||
// TransitionThemeVariables, | ||
// TypographyThemeVariables, | ||
// ActiveThemeKey | ||
// } from './themes/types/index.js' | ||
// // mixin types | ||
// export type { | ||
// Direction, | ||
// DirectionProp, | ||
// DirectionValues | ||
// } from './mixins/BidirectionalElement.js' | ||
// // util types | ||
// export type { Cursor, PlacementPropValues } from './utils/commonTypes.js' | ||
// export type { | ||
// ComponentThemeMap, | ||
// ComponentTheme, | ||
// ComponentThemes, | ||
// StyleOverride | ||
// } from './utils/theming.js' | ||
// export type { | ||
// Background, | ||
// BorderWidthKeys, | ||
// BorderRadiiKeys, | ||
// BackgroundKeys, | ||
// StackingKeys, | ||
// SpacingKeys, | ||
// ShadowKeys, | ||
// BorderRadii, | ||
// BorderWidth, | ||
// BorderRadiiValues, | ||
// BorderWidthValues, | ||
// Stacking, | ||
// Shadow, | ||
// Spacing, | ||
// SpacingValues, | ||
// themeablePropValues | ||
// } from './utils/themeablePropValues.js' | ||
// export type { | ||
// ComponentOwnPropTypes, | ||
// ComponentPropTypes, | ||
// PartialRecord, | ||
// Constructor, | ||
// MixinRender, | ||
// MutableClassInfo | ||
// } from './utils/utilityTypes.js' | ||
// // component theme types | ||
// export type { AvatarTheme } from './components/inst-avatar/theme.js' | ||
// export type { BadgeTheme } from './components/inst-badge/theme.js' | ||
// export type { BillboardTheme } from './components/inst-billboard/theme.js' | ||
// export type { HeadingTheme } from './components/inst-heading/theme.js' | ||
// export type { ImgTheme } from './components/inst-img/theme.js' | ||
// export type { LinkTheme } from './components/inst-link/theme.js' | ||
// export type { TextTheme } from './components/inst-text/theme.js' | ||
// export type { ViewTheme } from './components/inst-view/theme.js' | ||
// // component prop types | ||
// export type { | ||
// ScreenReaderContentProps, | ||
// ScreenReaderContentOwnPropTypes, | ||
// ScreenReaderContentPropTypes, | ||
// PresentationContentProps, | ||
// PresentationContentOwnPropTypes, | ||
// PresentationContentPropTypes, | ||
// AccessibleContentProps, | ||
// AccessibleContentOwnPropTypes, | ||
// AccessibleContentPropTypes | ||
// } from './components/inst-a11y-content/index.js' | ||
// export type { | ||
// ApplyTextDirectionProps, | ||
// ApplyTextDirectionOwnPropTypes, | ||
// ApplyTextDirectionPropTypes | ||
// } from './components/inst-apply-text-direction/props.js' | ||
// export type { | ||
// ApplyThemeProps, | ||
// ApplyThemeOwnPropTypes, | ||
// ApplyThemePropTypes | ||
// } from './components/inst-apply-theme/props.js' | ||
// export type { | ||
// AvatarProps, | ||
// AvatarOwnPropTypes, | ||
// AvatarPropTypes | ||
// } from './components/inst-avatar/props.js' | ||
// export type { | ||
// BadgeProps, | ||
// BadgeOwnPropTypes, | ||
// BadgePropTypes | ||
// } from './components/inst-badge/props.js' | ||
// export type { | ||
// BillboardProps, | ||
// BillboardOwnPropTypes, | ||
// BillboardPropTypes | ||
// } from './components/inst-billboard/props.js' | ||
// export type { | ||
// CodeEditorProps, | ||
// CodeEditorOwnPropTypes, | ||
// CodeEditorPropTypes | ||
// } from './components/inst-code-editor/props.js' | ||
// export type { | ||
// HeadingProps, | ||
// HeadingOwnPropTypes, | ||
// HeadingPropTypes | ||
// } from './components/inst-heading/props.js' | ||
// export type { | ||
// ImgProps, | ||
// ImgOwnPropTypes, | ||
// ImgPropTypes | ||
// } from './components/inst-img/props.js' | ||
// export type { | ||
// LinkProps, | ||
// LinkOwnPropTypes, | ||
// LinkPropTypes | ||
// } from './components/inst-link/props.js' | ||
// export type { | ||
// TextProps, | ||
// TextOwnPropTypes, | ||
// TextPropTypes | ||
// } from './components/inst-text/props.js' | ||
// export type { | ||
// ViewProps, | ||
// ViewOwnPropTypes, | ||
// ViewPropTypes | ||
// } from './components/inst-view/props.js' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
557250
136
11044