-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
127 changed files
with
56,601 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
# https://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
max_line_length = 600 | ||
tab_width = 4 | ||
trim_trailing_whitespace = true | ||
ij_continuation_indent_size = 4 | ||
|
||
[{*.cjs,*.js,*.ts,*.jsx,*.tsx}] | ||
max_line_length = 240 | ||
ij_continuation_indent_size = 4 | ||
ij_javascript_align_imports = false | ||
ij_javascript_align_multiline_array_initializer_expression = false | ||
ij_javascript_align_multiline_binary_operation = false | ||
ij_javascript_align_multiline_chained_methods = false | ||
ij_javascript_align_multiline_extends_list = false | ||
ij_javascript_align_multiline_for = true | ||
ij_javascript_align_multiline_parameters = true | ||
ij_javascript_align_multiline_parameters_in_calls = false | ||
ij_javascript_align_multiline_ternary_operation = false | ||
ij_javascript_align_object_properties = 0 | ||
ij_javascript_align_union_types = false | ||
ij_javascript_align_var_statements = 0 | ||
ij_javascript_array_initializer_new_line_after_left_brace = false | ||
ij_javascript_array_initializer_right_brace_on_new_line = false | ||
ij_javascript_array_initializer_wrap = off | ||
ij_javascript_assignment_wrap = off | ||
ij_javascript_binary_operation_sign_on_next_line = false | ||
ij_javascript_binary_operation_wrap = off | ||
ij_javascript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/** | ||
ij_javascript_blank_lines_after_imports = 1 | ||
ij_javascript_blank_lines_around_class = 1 | ||
ij_javascript_blank_lines_around_field = 0 | ||
ij_javascript_blank_lines_around_function = 1 | ||
ij_javascript_blank_lines_around_method = 1 | ||
ij_javascript_block_brace_style = end_of_line | ||
ij_javascript_call_parameters_new_line_after_left_paren = false | ||
ij_javascript_call_parameters_right_paren_on_new_line = false | ||
ij_javascript_call_parameters_wrap = off | ||
ij_javascript_catch_on_new_line = false | ||
ij_javascript_chained_call_dot_on_new_line = true | ||
ij_javascript_class_brace_style = end_of_line | ||
ij_javascript_comma_on_new_line = false | ||
ij_javascript_do_while_brace_force = never | ||
ij_javascript_else_on_new_line = false | ||
ij_javascript_enforce_trailing_comma = whenmultiline | ||
ij_javascript_extends_keyword_wrap = off | ||
ij_javascript_extends_list_wrap = off | ||
ij_javascript_field_prefix = _ | ||
ij_javascript_file_name_style = relaxed | ||
ij_javascript_finally_on_new_line = false | ||
ij_javascript_for_brace_force = never | ||
ij_javascript_for_statement_new_line_after_left_paren = false | ||
ij_javascript_for_statement_right_paren_on_new_line = false | ||
ij_javascript_for_statement_wrap = off | ||
ij_javascript_force_quote_style = true | ||
ij_javascript_force_semicolon_style = false | ||
ij_javascript_function_expression_brace_style = end_of_line | ||
ij_javascript_if_brace_force = never | ||
ij_javascript_import_merge_members = global | ||
ij_javascript_import_prefer_absolute_path = global | ||
ij_javascript_import_sort_members = true | ||
ij_javascript_import_sort_module_name = false | ||
ij_javascript_import_use_node_resolution = true | ||
ij_javascript_imports_wrap = on_every_item | ||
ij_javascript_indent_case_from_switch = true | ||
ij_javascript_indent_chained_calls = true | ||
ij_javascript_indent_package_children = 0 | ||
ij_javascript_jsx_attribute_value = braces | ||
ij_javascript_keep_blank_lines_in_code = 2 | ||
ij_javascript_keep_first_column_comment = true | ||
ij_javascript_keep_indents_on_empty_lines = false | ||
ij_javascript_keep_line_breaks = true | ||
ij_javascript_keep_simple_blocks_in_one_line = false | ||
ij_javascript_keep_simple_methods_in_one_line = true | ||
ij_javascript_line_comment_add_space = true | ||
ij_javascript_line_comment_at_first_column = false | ||
ij_javascript_method_brace_style = end_of_line | ||
ij_javascript_method_call_chain_wrap = off | ||
ij_javascript_method_parameters_new_line_after_left_paren = false | ||
ij_javascript_method_parameters_right_paren_on_new_line = false | ||
ij_javascript_method_parameters_wrap = off | ||
ij_javascript_object_literal_wrap = on_every_item | ||
ij_javascript_parentheses_expression_new_line_after_left_paren = false | ||
ij_javascript_parentheses_expression_right_paren_on_new_line = false | ||
ij_javascript_place_assignment_sign_on_next_line = false | ||
ij_javascript_prefer_as_type_cast = false | ||
ij_javascript_prefer_explicit_types_function_expression_returns = false | ||
ij_javascript_prefer_explicit_types_function_returns = false | ||
ij_javascript_prefer_explicit_types_vars_fields = false | ||
ij_javascript_prefer_parameters_wrap = false | ||
ij_javascript_reformat_c_style_comments = false | ||
ij_javascript_space_after_colon = true | ||
ij_javascript_space_after_comma = true | ||
ij_javascript_space_after_dots_in_rest_parameter = false | ||
ij_javascript_space_after_generator_mult = true | ||
ij_javascript_space_after_property_colon = true | ||
ij_javascript_space_after_quest = true | ||
ij_javascript_space_after_type_colon = true | ||
ij_javascript_space_after_unary_not = false | ||
ij_javascript_space_before_async_arrow_lparen = true | ||
ij_javascript_space_before_catch_keyword = true | ||
ij_javascript_space_before_catch_left_brace = true | ||
ij_javascript_space_before_catch_parentheses = false | ||
ij_javascript_space_before_class_lbrace = true | ||
ij_javascript_space_before_class_left_brace = true | ||
ij_javascript_space_before_colon = true | ||
ij_javascript_space_before_comma = false | ||
ij_javascript_space_before_do_left_brace = true | ||
ij_javascript_space_before_else_keyword = true | ||
ij_javascript_space_before_else_left_brace = true | ||
ij_javascript_space_before_finally_keyword = true | ||
ij_javascript_space_before_finally_left_brace = true | ||
ij_javascript_space_before_for_left_brace = true | ||
ij_javascript_space_before_for_parentheses = false | ||
ij_javascript_space_before_for_semicolon = false | ||
ij_javascript_space_before_function_left_parenth = false | ||
ij_javascript_space_before_generator_mult = false | ||
ij_javascript_space_before_if_left_brace = true | ||
ij_javascript_space_before_if_parentheses = false | ||
ij_javascript_space_before_method_call_parentheses = false | ||
ij_javascript_space_before_method_left_brace = true | ||
ij_javascript_space_before_method_parentheses = false | ||
ij_javascript_space_before_property_colon = false | ||
ij_javascript_space_before_quest = true | ||
ij_javascript_space_before_switch_left_brace = true | ||
ij_javascript_space_before_switch_parentheses = false | ||
ij_javascript_space_before_try_left_brace = true | ||
ij_javascript_space_before_type_colon = false | ||
ij_javascript_space_before_unary_not = false | ||
ij_javascript_space_before_while_keyword = true | ||
ij_javascript_space_before_while_left_brace = true | ||
ij_javascript_space_before_while_parentheses = false | ||
ij_javascript_spaces_around_additive_operators = true | ||
ij_javascript_spaces_around_arrow_function_operator = true | ||
ij_javascript_spaces_around_assignment_operators = true | ||
ij_javascript_spaces_around_bitwise_operators = true | ||
ij_javascript_spaces_around_equality_operators = true | ||
ij_javascript_spaces_around_logical_operators = true | ||
ij_javascript_spaces_around_multiplicative_operators = true | ||
ij_javascript_spaces_around_relational_operators = true | ||
ij_javascript_spaces_around_shift_operators = true | ||
ij_javascript_spaces_around_unary_operator = false | ||
ij_javascript_spaces_within_array_initializer_brackets = false | ||
ij_javascript_spaces_within_brackets = false | ||
ij_javascript_spaces_within_catch_parentheses = false | ||
ij_javascript_spaces_within_for_parentheses = false | ||
ij_javascript_spaces_within_if_parentheses = false | ||
ij_javascript_spaces_within_imports = false | ||
ij_javascript_spaces_within_interpolation_expressions = false | ||
ij_javascript_spaces_within_method_call_parentheses = false | ||
ij_javascript_spaces_within_method_parentheses = false | ||
ij_javascript_spaces_within_object_literal_braces = false | ||
ij_javascript_spaces_within_object_type_braces = true | ||
ij_javascript_spaces_within_parentheses = false | ||
ij_javascript_spaces_within_switch_parentheses = false | ||
ij_javascript_spaces_within_type_assertion = false | ||
ij_javascript_spaces_within_union_types = true | ||
ij_javascript_spaces_within_while_parentheses = false | ||
ij_javascript_special_else_if_treatment = true | ||
ij_javascript_ternary_operation_signs_on_next_line = false | ||
ij_javascript_ternary_operation_wrap = off | ||
ij_javascript_union_types_wrap = on_every_item | ||
ij_javascript_use_chained_calls_group_indents = true | ||
ij_javascript_use_double_quotes = false | ||
ij_javascript_use_explicit_js_extension = global | ||
ij_javascript_use_path_mapping = always | ||
ij_javascript_use_public_modifier = false | ||
ij_javascript_use_semicolon_after_statement = true | ||
ij_javascript_var_declaration_wrap = normal | ||
ij_javascript_while_brace_force = never | ||
ij_javascript_while_on_new_line = false | ||
ij_javascript_wrap_comments = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
name: Bug report | ||
about: Notice us about a bug in UI-Schema | ||
labels: bug | ||
--- | ||
|
||
<!-- | ||
Add a general summary in the title above | ||
- Is the issue is present in the latest release? | ||
- You have searched the [issues](https://github.com/ui-schema/react-color/issues) of this repository and believe that this is not a duplicate. | ||
Selected checkbox is [X] | ||
--> | ||
|
||
|
||
|
||
## Current Behavior | ||
|
||
<!-- Describe what happens instead of the expected behavior. --> | ||
|
||
## Expected Behavior | ||
|
||
<!-- Describe what should happen. --> | ||
|
||
## Steps to Reproduce | ||
|
||
Steps: | ||
|
||
1. | ||
2. | ||
3. | ||
4. | ||
|
||
## Context | ||
|
||
<!-- | ||
What are you trying to accomplish? How has this issue affected you? | ||
Providing context helps us come up with a solution that is most useful in the real world. | ||
--> | ||
|
||
## Your Environment | ||
|
||
<!-- | ||
Describe your environment as detailed as possible. | ||
- include further dependencies which might be used in your widgets. | ||
- choose which design-system you are using | ||
- using CRA, nwb, other build tools? tell us! | ||
--> | ||
|
||
| Tech | Version | | ||
| ------------ | ------- | | ||
| UI-Schema | v0.?.? | | ||
| Immutable | v4.?.? | | ||
| - | - | | ||
| DS-Material | | | ||
| Material-UI | | | ||
| - | - | | ||
| etc. | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: UI-Schema Slack | ||
url: https://join.slack.com/t/ui-schema/shared_invite/zt-smbsybk5-dFIRLEPCJerzDwtycaA71w | ||
about: Ask questions and discuss in our Slack Community | ||
- name: Material-UI | ||
url: https://github.com/mui-org/material-ui | ||
about: "When you got question not about the design-system bindings: docs + project of **Material-UI**" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest new behaviours and features for the project. | ||
--- | ||
|
||
<!-- | ||
Add a general summary in the title above | ||
Please search the [issues](https://github.com/ui-schema/react-color/issues) of this repository and only open a new one if you believe that this is not a duplicate. | ||
Selected checkbox is [X] | ||
--> | ||
|
||
## Summary | ||
|
||
<!-- Describe how it should work AND for what package it is intended --> | ||
|
||
## Examples | ||
|
||
<!-- | ||
Provide a link to as many as possible: | ||
- the JSON-Schema specification | ||
- the Material design specification | ||
- other implementations | ||
or wireframes, screenshots, schema-examples of the needed behavior. | ||
--> | ||
|
||
## Motivation | ||
|
||
<!-- | ||
- What are you trying to accomplish? | ||
- How has the lack of this feature affected you? | ||
- Providing context helps us come up with a solution that is most useful in the real world. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
name: New / Extend Widget | ||
about: Request & Describe a new Widget or new Widget Features | ||
labels: widget, use-case | ||
--- | ||
|
||
<!-- | ||
Add a summary in the title above | ||
- Please search for duplicates in: | ||
- [issues](https://github.com/ui-schema/react-color/issues) | ||
- [widget list](https://ui-schema.bemit.codes/docs/overview#widget-list) | ||
--> | ||
|
||
## Summary | ||
|
||
- New Widget: | ||
- New Feature for existing Widget: | ||
|
||
### Supported Types | ||
|
||
About which type(s) is this behaviour? | ||
|
||
- `string` | ||
|
||
### Specifications | ||
|
||
<!-- | ||
- Describe on which specifications it is based | ||
- Docs UI-Schema: https://ui-schema.bemit.codes/docs/schema | ||
- Docs JSON-Schema: https://json-schema.org/understanding-json-schema/reference/type.html | ||
--> | ||
|
||
## Examples | ||
|
||
<!-- | ||
- Provide wireframes, screenshots, schema-examples of the needed behavior. | ||
- Help us to know more about the use-case and intention, rather then only describing a solution. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: UIS React Color CI | ||
|
||
env: | ||
DOCKER_BUILDKIT: 1 | ||
|
||
on: | ||
push: | ||
branches: [ main, develop ] | ||
pull_request: | ||
branches: [ main, develop ] | ||
# create: | ||
# tags: | ||
# - '[0-9]+.[0-9]+.[0-9]+*' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_node: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [ 14.x ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set Branch | ||
id: vars | ||
run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/} | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Cache CI node_modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }} | ||
|
||
- name: Setup packages | ||
run: | | ||
npm ci | ||
npm run bootstrap | ||
npm run link | ||
- name: Run tests | ||
run: | | ||
npm test | ||
- name: Build | ||
run: | | ||
npm run build | ||
- name: Send code coverage report to Codecov.io | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
- name: Publish to NPM | ||
if: github.ref == 'refs/heads/main' | ||
#if: startsWith(github.ref, 'refs/tags/') | ||
run: | | ||
./publish.sh | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
Oops, something went wrong.