@unovis/ts 1.5.0-nikita.2 → 1.5.0-nikita.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/index.d.ts CHANGED
@@ -3,7 +3,4 @@ export * from './components';
3
3
  export * from './types';
4
4
  export * from './styles/colors';
5
5
  export * from './styles/sizes';
6
- export * from './utils/data';
7
- export * from './utils/text';
8
- export * from './utils/svg';
9
- export * from './utils/color';
6
+ export * from './utils';
package/index.js CHANGED
@@ -3,10 +3,7 @@ import './components.js';
3
3
  import './types.js';
4
4
  export { colors, colorsDark, getCSSColorVariable, getDarkerColor, getLighterColor } from './styles/colors.js';
5
5
  export { styleExtraLargeSize, styleLargeSize } from './styles/sizes.js';
6
- export { arrayOfIndices, clamp, clean, cloneDeep, countUnique, filterDataByRange, flatten, getBoolean, getExtent, getMax, getMin, getNearest, getNumber, getStackedData, getStackedExtent, getStackedValues, getString, getValue, groupBy, isAClassInstance, isArray, isEmpty, isEqual, isFunction, isNil, isNumber, isNumberWithinRange, isObject, isPlainObject, isString, isUndefined, merge, omit, shallowDiff, sortBy, throttle, unique, without } from './utils/data.js';
7
- export { allowedSvgTextTags, escapeStringKeepHash, estimateStringPixelLength, estimateTextSize, estimateWrappedTextHeight, getPreciseStringLengthPx, getWrappedText, kebabCase, kebabCaseToCamel, renderTextIntoFrame, renderTextToSvgTextElement, splitString, trimSVGText, trimString, trimStringEnd, trimStringMiddle, trimStringStart, wrapSVGText } from './utils/text.js';
8
- export { allowedSvgTags, getTransformValues, isStringSvg, sanitizeSvgString, transformValuesToString } from './utils/svg.js';
9
- export { getColor, getHexValue, hexToBrightness, hexToRgb, rgbToBrightness, rgbaToRgb } from './utils/color.js';
6
+ import './utils/index.js';
10
7
  export { ContainerCore } from './core/container/index.js';
11
8
  export { SingleContainer } from './containers/single-container/index.js';
12
9
  export { XYContainer } from './containers/xy-container/index.js';
@@ -56,4 +53,15 @@ export { FreeBrushMode } from './components/free-brush/types.js';
56
53
  export { BulletLegendOrientation, BulletShape } from './components/bullet-legend/types.js';
57
54
  export { XYLabelPositioning } from './components/xy-labels/types.js';
58
55
  export { NestedDonutDirection, NestedDonutSegmentLabelAlignment } from './components/nested-donut/types.js';
56
+ export { arrayOfIndices, clamp, clean, cloneDeep, countUnique, filterDataByRange, flatten, getBoolean, getExtent, getMax, getMin, getNearest, getNumber, getStackedData, getStackedExtent, getStackedValues, getString, getValue, groupBy, isAClassInstance, isArray, isEmpty, isEqual, isFunction, isNil, isNumber, isNumberWithinRange, isObject, isPlainObject, isString, isUndefined, merge, omit, shallowDiff, sortBy, throttle, unique, without } from './utils/data.js';
57
+ export { allowedSvgTextTags, escapeStringKeepHash, estimateStringPixelLength, estimateTextSize, estimateWrappedTextHeight, getPreciseStringLengthPx, getWrappedText, kebabCase, kebabCaseToCamel, renderTextIntoFrame, renderTextToSvgTextElement, splitString, trimSVGText, trimString, trimStringEnd, trimStringMiddle, trimStringStart, wrapSVGText } from './utils/text.js';
58
+ export { allowedSvgTags, getTransformValues, isStringSvg, sanitizeSvgString, transformValuesToString } from './utils/svg.js';
59
+ export { getColor, getHexValue, hexToBrightness, hexToRgb, rgbToBrightness, rgbaToRgb } from './utils/color.js';
60
+ export { circlePath, convertLineToArc, polygon, roundedRectPath, scoreRectPath } from './utils/path.js';
61
+ export { getCSSVariableValue, getCSSVariableValueInPixels, getHref, getPixelValue, guid, isStringCSSVariable, parseUnit, rectIntersect, stringToHtmlId } from './utils/misc.js';
62
+ export { DefaultRange } from './utils/scale.js';
63
+ export { smartTransition } from './utils/d3.js';
64
+ export { getDataLatLngBounds } from './utils/map.js';
65
+ export { cssvar, getCssVarNames, injectGlobalCssVariables } from './utils/style.js';
66
+ export { getHTMLTransform } from './utils/html.js';
59
67
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unovis/ts",
3
3
  "description": "Modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript",
4
- "version": "1.5.0-nikita.2",
4
+ "version": "1.5.0-nikita.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/f5/unovis.git",
@@ -0,0 +1,12 @@
1
+ export * from './data';
2
+ export * from './text';
3
+ export * from './svg';
4
+ export * from './color';
5
+ export * from './path';
6
+ export * from './misc';
7
+ export * from './type';
8
+ export * from './scale';
9
+ export * from './d3';
10
+ export * from './map';
11
+ export * from './style';
12
+ export * from './html';
package/utils/index.js ADDED
@@ -0,0 +1,13 @@
1
+ export { arrayOfIndices, clamp, clean, cloneDeep, countUnique, filterDataByRange, flatten, getBoolean, getExtent, getMax, getMin, getNearest, getNumber, getStackedData, getStackedExtent, getStackedValues, getString, getValue, groupBy, isAClassInstance, isArray, isEmpty, isEqual, isFunction, isNil, isNumber, isNumberWithinRange, isObject, isPlainObject, isString, isUndefined, merge, omit, shallowDiff, sortBy, throttle, unique, without } from './data.js';
2
+ export { allowedSvgTextTags, escapeStringKeepHash, estimateStringPixelLength, estimateTextSize, estimateWrappedTextHeight, getPreciseStringLengthPx, getWrappedText, kebabCase, kebabCaseToCamel, renderTextIntoFrame, renderTextToSvgTextElement, splitString, trimSVGText, trimString, trimStringEnd, trimStringMiddle, trimStringStart, wrapSVGText } from './text.js';
3
+ export { allowedSvgTags, getTransformValues, isStringSvg, sanitizeSvgString, transformValuesToString } from './svg.js';
4
+ export { getColor, getHexValue, hexToBrightness, hexToRgb, rgbToBrightness, rgbaToRgb } from './color.js';
5
+ export { circlePath, convertLineToArc, polygon, roundedRectPath, scoreRectPath } from './path.js';
6
+ export { getCSSVariableValue, getCSSVariableValueInPixels, getHref, getPixelValue, guid, isStringCSSVariable, parseUnit, rectIntersect, stringToHtmlId } from './misc.js';
7
+ import './type.js';
8
+ export { DefaultRange } from './scale.js';
9
+ export { smartTransition } from './d3.js';
10
+ export { getDataLatLngBounds } from './map.js';
11
+ export { cssvar, getCssVarNames, injectGlobalCssVariables } from './style.js';
12
+ export { getHTMLTransform } from './html.js';
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/utils/scale.js ADDED
@@ -0,0 +1,4 @@
1
+ const DefaultRange = [1, 40];
2
+
3
+ export { DefaultRange };
4
+ //# sourceMappingURL=scale.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scale.js","sources":["../../src/utils/scale.ts"],"sourcesContent":["export const DefaultRange = [1, 40]\n"],"names":[],"mappings":"MAAa,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;;;;"}
package/utils/type.js ADDED
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}